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

Permissions

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
isaac
Posts: 8
Joined: Thu Aug 13, 2015 7:33 pm

Permissions
  • Quote

Post by isaac » Wed Feb 27, 2019 10:47 pm

I messed up my permissions (ubuntu).

I used this script to fix everything: viewtopic.php?f=20&t=15671

But I still can't edit themes (admin) + allow plugin/theme updates (www-data) at the same time (on Wordpress installs). I'm constantly switching between admin + www-data (e.g. sudo chown -R www-data:www-data public_html)

I've tried almost every example on stackoverflow and nothing seems to work + spun up a new install of vestacp to reverse engineer the permissions.

How can I set both to have write permissions (w/o opening myself up to attacks)?

Please help!
Isaac
Top

isaac
Posts: 8
Joined: Thu Aug 13, 2015 7:33 pm

Re: Permissions
  • Quote

Post by isaac » Mon Mar 04, 2019 5:57 pm

How do I give www-data write access to admin? (guessing that is where I've gone wrong?)

I have a server that works (Sydney) & a server that doesn't (Phoenix) --> I can't upload plugins...:

Sydney
—
751 web
551 domain
751 pubic_html
775 wp-content

dr-xr-x--x 9 admin admin 4096 Apr 21 2016 domain.com.au
drwxr-x--x 5 admin admin 4096 Feb 26 06:14 public_html
-rw-r--r-- 1 admin admin 2898 Feb 26 06:14 wp-config-sample.php
drwxrwxr-x 9 admin admin 4096 Mar 4 13:06 wp-content

Phoenix
—
751 web
551 domain
751 pubic_html
775 wp-content

dr-xr-x--x 9 admin admin 4096 Oct 16 13:42 domain.net
drwxr-x--x 5 admin admin 4096 Mar 2 13:31 public_html
-rw-r--r-- 1 admin admin 2898 Mar 2 13:31 wp-config-sample.php
drwxrwxr-x 6 admin admin 4096 Feb 10 14:59 wp-content

Could I be missing something obvious?
Top


Post Reply
  • Print view

2 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