Se corrige fallo al asignar usuario
This commit is contained in:
parent
8535b8805a
commit
9febdae58d
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
#################################################
|
||||
# Instalar easy-samba 1.6.1 (q3aql) #
|
||||
# Instalar easy-samba 1.6.2 (q3aql) #
|
||||
#################################################
|
||||
|
||||
PREFIX=/usr
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
##############################################################
|
||||
# Crear carpetas compartidas en Linux #
|
||||
# U. Modificacion: 26-07-2018 #
|
||||
# U. Modificacion: 27-12-2018 #
|
||||
# Autor: q3aql #
|
||||
# Contacto: q3aql@openmailbox.org #
|
||||
# Contacto: q3aql@protonmail.ch #
|
||||
# Licencia: GPL v2.0 #
|
||||
##############################################################
|
||||
VERSION="1.6.1"
|
||||
M_DATE="260718"
|
||||
VERSION="1.6.2"
|
||||
M_DATE="271218"
|
||||
|
||||
# Parametros globales
|
||||
linuxSambaFolder="/opt/easy-samba"
|
||||
|
@ -337,6 +337,7 @@ function newFolderForUser() {
|
|||
echo -n "* Pulsa INTRO para continuar... " ; read continue
|
||||
else
|
||||
chmod 755 -R ${linuxSambaFolder}/${folder}
|
||||
chown ${forUser} -R ${linuxSambaFolder}/${folder}
|
||||
echo "[${folder}]" >> ${sambaConfig}
|
||||
echo "# Folder to ${linuxSambaFolder}/${folder} # 00bc00" >> ${sambaConfig}
|
||||
echo "path = ${linuxSambaFolder}/${folder}" >> ${sambaConfig}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
##############################################################
|
||||
# Crear carpetas compartidas en Linux (GTK) #
|
||||
# U. Modificacion: 26-07-2018 #
|
||||
# U. Modificacion: 27-12-2018 #
|
||||
# Autor: q3aql #
|
||||
# Contacto: q3aql@openmailbox.org #
|
||||
# Contacto: q3aql@protonmail.ch #
|
||||
# Licencia: GPL v2.0 #
|
||||
##############################################################
|
||||
VERSION="1.6.1 (GTK)"
|
||||
M_DATE="260718"
|
||||
VERSION="1.6.2 (GTK)"
|
||||
M_DATE="271218"
|
||||
|
||||
# Parametros globales
|
||||
linuxSambaFolder="/opt/easy-samba"
|
||||
|
@ -311,6 +311,7 @@ function newFolderForUser() {
|
|||
zenity --title "easy-samba ${VERSION} (${M_DATE})" --error --width=330 --text "Error: No existe el usuario especificado!"
|
||||
else
|
||||
chmod 755 -R ${linuxSambaFolder}/${folder}
|
||||
chown ${forUser} -R ${linuxSambaFolder}/${folder}
|
||||
echo "[${folder}]" >> ${sambaConfig}
|
||||
echo "# Folder to ${linuxSambaFolder}/${folder} # 00bc00" >> ${sambaConfig}
|
||||
echo "path = ${linuxSambaFolder}/${folder}" >> ${sambaConfig}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
##############################################################
|
||||
# Crear carpetas compartidas en Linux (GTK) #
|
||||
# U. Modificacion: 26-07-2018 #
|
||||
# U. Modificacion: 27-12-2018 #
|
||||
# Autor: q3aql #
|
||||
# Contacto: q3aql@openmailbox.org #
|
||||
# Contacto: q3aql@protonmail.ch #
|
||||
# Licencia: GPL v2.0 #
|
||||
##############################################################
|
||||
VERSION="1.6.1 (GTK)"
|
||||
M_DATE="260718"
|
||||
VERSION="1.6.2 (GTK)"
|
||||
M_DATE="271218"
|
||||
|
||||
# Enlace con gksudo,gksu o bessu a easy-samba-gtk
|
||||
function showRootMessage() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user