[solved] c_AddUserDirectory : permissions not applied
Posted: Mon Jan 06, 2014 4:21 pm
Hi,
I created a php script which calls lua commands to create users with an associated folder.
Everything works fine, my user is created and the associated folder is visible in the Directory tab.
However, whatever permissions I set in the c_AddUserDirectory command, they are all checked in the web interface and the user can do what he wants (create folder,...).
For example, when I run the following command :
c_AddUserDirectory("mydomain.com","test", "/datas/accounts/test","/",1,0,0,0,0,0,0,0,0,0,0,0), all permissions are checked.
Do you have any idea on how to correct this ?
Thanks for your help,
Fred
I created a php script which calls lua commands to create users with an associated folder.
Everything works fine, my user is created and the associated folder is visible in the Directory tab.
However, whatever permissions I set in the c_AddUserDirectory command, they are all checked in the web interface and the user can do what he wants (create folder,...).
For example, when I run the following command :
c_AddUserDirectory("mydomain.com","test", "/datas/accounts/test","/",1,0,0,0,0,0,0,0,0,0,0,0), all permissions are checked.
Do you have any idea on how to correct this ?
Thanks for your help,
Fred