Page 1 of 1
Allow users to create directories in root
Posted: Fri Aug 26, 2016 12:13 am
by bowsercloud
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.
Re: Allow users to create directories in root
Posted: Mon Aug 29, 2016 12:40 am
by bowsercloud
I'm still having trouble with this. Can anyone help?
Re: Allow users to create directories in root
Posted: Mon Aug 29, 2016 1:29 am
by mehargags
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.
Re: Allow users to create directories in root
Posted: Mon Aug 29, 2016 1:49 am
by bowsercloud
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?
Re: Allow users to create directories in root
Posted: Mon Aug 29, 2016 2:47 am
by mehargags
simply do it from the Web under interface.
http://prnt.sc/cbj3hp
Re: Allow users to create directories in root
Posted: Mon Aug 29, 2016 3:08 am
by bowsercloud
I had done that. But I am getting a 550 Create directory operation failed in FileZilla.
Re: Allow users to create directories in root
Posted: Mon Aug 29, 2016 8:09 am
by mehargags
Create the directory yourself & chown to set permissions to it...
Re: Allow users to create directories in root
Posted: Tue Aug 30, 2016 12:32 am
by bowsercloud
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?
Re: Allow users to create directories in root
Posted: Wed Feb 15, 2017 9:28 pm
by atmark