Set the correct permissions to the pem file (ks-upv/upa/upf/upr)
This commit is contained in:
parent
906cb000d9
commit
935c590dfa
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# ks-upa (ks-tools) - Upload audio file(s) to server with scp or rsync #
|
# ks-upa (ks-tools) - Upload audio file(s) to server with scp or rsync #
|
||||||
# Date: 11-03-2023 #
|
# Date: 12-03-2023 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
########################################################################
|
########################################################################
|
||||||
VERSION="8.5-dev"
|
VERSION="8.5-dev"
|
||||||
M_DATE="110323"
|
M_DATE="120323"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -26,6 +26,11 @@ else
|
||||||
cygwin="no"
|
cygwin="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set the correct permissions to the pem file
|
||||||
|
if [ -f ${dirConfig}/connect.pem ] ; then
|
||||||
|
chmod 600 ${dirConfig}/connect.pem
|
||||||
|
fi
|
||||||
|
|
||||||
# Function to remove spaces and symbols
|
# Function to remove spaces and symbols
|
||||||
# Syntax: convertText "<text>"
|
# Syntax: convertText "<text>"
|
||||||
function convertText() {
|
function convertText() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# ks-upf (ks-tools) - Upload common file(s) to server with scp or rsync #
|
# ks-upf (ks-tools) - Upload common file(s) to server with scp or rsync #
|
||||||
# Date: 11-03-2023 #
|
# Date: 12-03-2023 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
VERSION="8.5-dev"
|
VERSION="8.5-dev"
|
||||||
M_DATE="110323"
|
M_DATE="120323"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -26,6 +26,11 @@ else
|
||||||
cygwin="no"
|
cygwin="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set the correct permissions to the pem file
|
||||||
|
if [ -f ${dirConfig}/connect.pem ] ; then
|
||||||
|
chmod 600 ${dirConfig}/connect.pem
|
||||||
|
fi
|
||||||
|
|
||||||
# Function to remove spaces and symbols
|
# Function to remove spaces and symbols
|
||||||
# Syntax: convertText "<text>"
|
# Syntax: convertText "<text>"
|
||||||
function convertText() {
|
function convertText() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# ks-upr (ks-tools) - Upload recursively file(s) to server with scp or rsync #
|
# ks-upr (ks-tools) - Upload recursively file(s) to server with scp or rsync #
|
||||||
# Date: 11-03-2023 #
|
# Date: 12-03-2023 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
##############################################################################
|
##############################################################################
|
||||||
VERSION="8.5-dev"
|
VERSION="8.5-dev"
|
||||||
M_DATE="110323"
|
M_DATE="120323"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -26,6 +26,11 @@ else
|
||||||
cygwin="no"
|
cygwin="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set the correct permissions to the pem file
|
||||||
|
if [ -f ${dirConfig}/connect.pem ] ; then
|
||||||
|
chmod 600 ${dirConfig}/connect.pem
|
||||||
|
fi
|
||||||
|
|
||||||
# Function to remove spaces and symbols
|
# Function to remove spaces and symbols
|
||||||
# Syntax: convertText "<text>"
|
# Syntax: convertText "<text>"
|
||||||
function convertText() {
|
function convertText() {
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# ks-upv (ks-tools) - Upload videos file(s) to server with scp or rsync #
|
# ks-upv (ks-tools) - Upload videos file(s) to server with scp or rsync #
|
||||||
# Date: 11-03-2023 #
|
# Date: 12-03-2023 #
|
||||||
# Author: q3aql #
|
# Author: q3aql #
|
||||||
# Contact: q3aql@duck.com #
|
# Contact: q3aql@duck.com #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
VERSION="8.5-dev"
|
VERSION="8.5-dev"
|
||||||
M_DATE="110323"
|
M_DATE="120323"
|
||||||
|
|
||||||
# Global parameters.
|
# Global parameters.
|
||||||
dirTemp="/tmp"
|
dirTemp="/tmp"
|
||||||
|
@ -26,6 +26,11 @@ else
|
||||||
cygwin="no"
|
cygwin="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set the correct permissions to the pem file
|
||||||
|
if [ -f ${dirConfig}/connect.pem ] ; then
|
||||||
|
chmod 600 ${dirConfig}/connect.pem
|
||||||
|
fi
|
||||||
|
|
||||||
# Function to remove spaces and symbols
|
# Function to remove spaces and symbols
|
||||||
# Syntax: convertText "<text>"
|
# Syntax: convertText "<text>"
|
||||||
function convertText() {
|
function convertText() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user