Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Allow users to create directories in root

General questions about VestaCP
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Allow users to create directories in root
  • Quote

Post by bowsercloud » Fri Aug 26, 2016 12:13 am

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.
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: Allow users to create directories in root
  • Quote

Post by bowsercloud » Mon Aug 29, 2016 12:40 am

I'm still having trouble with this. Can anyone help?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Allow users to create directories in root
  • Quote

Post by mehargags » Mon Aug 29, 2016 1:29 am

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 :

Code: Select all

/home/admin/web/<domain>/
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.
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: Allow users to create directories in root
  • Quote

Post by bowsercloud » Mon Aug 29, 2016 1:49 am

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?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Allow users to create directories in root
  • Quote

Post by mehargags » Mon Aug 29, 2016 2:47 am

simply do it from the Web under interface.
http://prnt.sc/cbj3hp
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: Allow users to create directories in root
  • Quote

Post by bowsercloud » Mon Aug 29, 2016 3:08 am

I had done that. But I am getting a 550 Create directory operation failed in FileZilla.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Allow users to create directories in root
  • Quote

Post by mehargags » Mon Aug 29, 2016 8:09 am

Create the directory yourself & chown to set permissions to it...
Top

bowsercloud
Posts: 22
Joined: Thu Aug 25, 2016 11:58 pm

Re: Allow users to create directories in root
  • Quote

Post by bowsercloud » Tue Aug 30, 2016 12:32 am

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?
Top

atmark
Posts: 5
Joined: Sun Jan 24, 2016 9:59 pm

Re: Allow users to create directories in root
  • Quote

Post by atmark » Wed Feb 15, 2017 9:28 pm

see viewtopic.php?f=11&t=13569&p=56677#p56677
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password