Changeset 6082


Ignore:
Timestamp:
Oct 25, 2017, 2:22:32 PM (2 years ago)
Author:
daduve
Message:

Admins users can upload files to deb and executables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-remote-installer/trunk/fuentes/lliurex-remote-installer-server.install/usr/share/n4d/python-plugins/LliureXRemoteInstaller.py

    r6001 r6082  
    5656                                os.system("chmod 775 %s"%self.SHARE_DIRECTORY)
    5757                                os.system("setfacl -m g:adm:rwx -d -m g:adm:rwx %s"%self.SHARE_DIRECTORY)
     58                                os.system("setfacl -m g:admins:rwx -d -m g:admins:rwx %s"%self.SHARE_DIRECTORY)
    5859                                print "[LLXRemoteInstaller] (test_var) New directory to shared files is created: %s"%(self.SHARE_DIRECTORY)
    5960                        else:
    6061                                print "[LLXRemoteInstaller] (test_var) Directory to shared files exists: %s"%(self.SHARE_DIRECTORY)
    6162                                os.system("setfacl -m g:adm:rwx -d -m g:adm:rwx %s"%self.SHARE_DIRECTORY)
     63                                os.system("setfacl -m g:admins:rwx -d -m g:admins:rwx %s"%self.SHARE_DIRECTORY)
    6264                                #os.chmod(self.SHARE_DIRECTORY, 755)
    6365                        print "[LLXRemoteInstaller] (test_var) Value for variable %s: %s"%(namevar,VALOR)
Note: See TracChangeset for help on using the changeset viewer.