PDA

View Full Version : change the user group of some folders to group “www” on the apache OS 10.5.8 server


Judie
September 8th, 2009, 05:09 PM
I have some shared folders on the apache OS 10.5.8 server. I would like to change the user group of these folders to group “www”. Do I need to use access control list (ACL)? I am new to this, any help would be greatly appreciated!

ElDiabloConCaca
September 8th, 2009, 06:51 PM
No, ACLs and UNIX permissions are different. Since Apache 2 uses UNIX permissions, you want to use UNIX permissions on those folders, not ACLs.

I would recommend keeping any folder you want read/writable by www in the HTTP root directory for security purposes.

Judie
September 8th, 2009, 07:06 PM
No, ACLs and UNIX permissions are different. Since Apache 2 uses UNIX permissions, you want to use UNIX permissions on those folders, not ACLs.

I would recommend keeping any folder you want read/writable by www in the HTTP root directory for security purposes.

Could you please let me know how to do it by using UNIX permissions?? I mean the steps...Thanks a lot!!!

Giaguara
September 9th, 2009, 03:14 AM
chown
chmod

And as usual, man is your best friend - man chown. (in Terminal)

Judie
September 9th, 2009, 01:15 PM
Oh Man Chown function in Unix, ::angel::