Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like my plesk skeleton httpdocs to have a drwxr-xr-x permission. Plesk creates users for each domain we create, but the only users that need access to the domain, are the developers who update the application code, and they belong to the group that owns all t / I tried setting it up in /var/www/vhosts/.skel/0 but the permissions from there are always overwritten.

share|improve this question

closed as off-topic by HopelessN00b Jan 14 '15 at 6:44

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. – HopelessN00b Jan 14 '15 at 6:44

Yes, permissions and ownership are overwritten. You can only put custom files in skeleton. If you want some users accessing all domains on a server, you could include them in "psaserv" group, which is granted access to httpdocs.

share|improve this answer
hey Sergey. that's what I did already. my skeleton has drwxrwxr-x 5 root root 4096 Jul 10 09:58 httpdocs but once a new domain is created it reverts to drwxr-xr-x. All the web developers are part of psaserv already. – Kasia Gogolek Jul 11 '12 at 10:44
up vote 0 down vote accepted

Thanks to Sergeys suggestion in another post I created an event that chmods all the directories on "Physical hosting created" FYI Domain Created doesn't work, as it is being called before the actual files are created on the server.

chmod g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"
chmod g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpsdocs"
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.