Category: Linux Plesk

To enabled PHP to write to folder and also give control panel usage

  • Change group of writable folder to “psaserv”
chgrp -R psaserv [FOLDERNAME
  • Change owner of writeable folder to the Plesk account owner
chown -R [OWNER [FOLDERNAME

Any file written by PHP code is now accessible by HTTP

  • (optional) Make the folder “group sticky”
chmod -R g+s [FOLDERNAME
  • (optional) Make the folder “user sticky”
chmod -R u+s [FOLDERNAME

Any file written by PHP code is now accessible by Plesk and HTTP

ls -l

Should now give

drwsrwsr-x

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.