How to give user read/write access to folders?

Posted by Will on Super User See other posts from Super User or by Will
Published on 2012-09-27T21:12:03Z Indexed on 2012/09/27 21:40 UTC
Read the original article Hit count: 156

Filed under:
|

I'm running a certain script that is using a non-root user to do the following...

mkdir: cannot create directory `/srv/www/example.com/releases'
*** [err :: 12.23.45.789] : Permission denied

How would I allow user xyz to have permanent permissions to do so and still keep this web server secure? Also is it possible to make it recursive for all subfolders?

I know its probably chmod something but I'm not that linux savy, thanks.

© Super User or respective owner

Related posts about linux

Related posts about chmod