Allow users to create directories in root
-
- Posts: 22
- Joined: Thu Aug 25, 2016 11:58 pm
Allow users to create directories in root
Hi,
I have some users needing to create directories under the public_html folder. How do I allow this? I have the sftp commercial license installed.
I have some users needing to create directories under the public_html folder. How do I allow this? I have the sftp commercial license installed.
-
- Posts: 22
- Joined: Thu Aug 25, 2016 11:58 pm
Re: Allow users to create directories in root
I'm still having trouble with this. Can anyone help?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Allow users to create directories in root
Not exactly clear what you need...
you need the user to create a new directory Outside of public_html ? Means in the site root ? like :
if so, just make him an Additional FTP user from the WebUI and grant him access to /. He can then login from sftp/ftp to create any file/dir inside his site root.
you need the user to create a new directory Outside of public_html ? Means in the site root ? like :
Code: Select all
/home/admin/web/<domain>/
-
- Posts: 22
- Joined: Thu Aug 25, 2016 11:58 pm
Re: Allow users to create directories in root
Yes. That's where the user would like to create directories.
Do I just manually add the user permission from command line on the server?
Do I just manually add the user permission from command line on the server?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Allow users to create directories in root
simply do it from the Web under interface.
http://prnt.sc/cbj3hp
http://prnt.sc/cbj3hp
-
- Posts: 22
- Joined: Thu Aug 25, 2016 11:58 pm
Re: Allow users to create directories in root
I had done that. But I am getting a 550 Create directory operation failed in FileZilla.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Allow users to create directories in root
Create the directory yourself & chown to set permissions to it...
-
- Posts: 22
- Joined: Thu Aug 25, 2016 11:58 pm
Re: Allow users to create directories in root
I've manually done that. But I am getting permission errors when the software runs. I am trying to install whmcs and follow their further security http://docs.whmcs.com/Further_Security_Steps
I have moved the attachments, downloads, templates_c out of public_html folder and into the created folders in the root.
/home/[user]/web/[domain.com]/
When running whmcs I get a error
/templates_c' must be writeable (CHMOD 777) before you can continue.
I have changed the permissions to the user:user 777, but still the same error.
Should I be putting the folders in a different location?
I have moved the attachments, downloads, templates_c out of public_html folder and into the created folders in the root.
/home/[user]/web/[domain.com]/
When running whmcs I get a error
/templates_c' must be writeable (CHMOD 777) before you can continue.
I have changed the permissions to the user:user 777, but still the same error.
Should I be putting the folders in a different location?