View Single Post
Old 13th July 2011, 17:42
sebasjuh sebasjuh is offline
Junior Member
Join Date: Jun 2011
Posts: 6
Thanks: 2
Thanked 1 Time in 1 Post
Default OpenSuse settings permissions on folder?

I have OpenSuse 11.4 (with Gnome) running with apache2 installed.
On apache2 i have created some virtual hosts, which were stored in /srv/www/vhosts/website

When I upload a new file to my website folder te root user has full permissions on that file but the others have none rights. So I can't open the file in my browser.

How can I change the default rights to the website folder (and let the subfolders/files inherit the permissions) so that the root had RWX rights, de groupname needs RW rights and the others need R rights.

Can somebody tell me what command I have to type on the terminal so that the default permissions are changed to the one I want?
Reply With Quote
Sponsored Links