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,
Last edited by fred9176
on Tue Jan 07, 2014 7:57 am, edited 1 time in total.