Closed bogdanr closed 10 years ago
Currently when a new user is created all db operations are made and then the script tries to create new directory with the username. If the directory exists or there is no rights to make it this error is thrown. The user is created, if you back to the users page it should be there. On Jan 14, 2014 11:56 AM, "Bogdan Rădulescu" notifications@github.com wrote:
Whenever an admin trues to change FTP User settings an error is produced: [image: change_user_settings_error]https://f.cloud.github.com/assets/1079875/1909400/817c574e-7cff-11e3-8c9d-76791a598fd6.png
— Reply to this email directly or view it on GitHubhttps://github.com/Tvel/VsftpdWeb/issues/4 .
The "if dir exists" was broken somehow and i removed it, it will be returned.
And that error page needs more work.
It seems that the user path used to mkdir is the Default user dir(only in web):
field. So if this is empty the path is wrong.
I will change that to Disk path:
(the main disk).
Fixed and tested on CentOS and Debian. If you still have the problem it is related to permissions probably.
Whenever an admin trues to change FTP User settings an error is produced:![change_user_settings_error](https://f.cloud.github.com/assets/1079875/1909400/817c574e-7cff-11e3-8c9d-76791a598fd6.png)