Hi,
On Tue, Aug 18, 2009 at 13:48, Davedave.mehler@gmail.com wrote:
As a user locally logged on to the machine i can cd to the area and create content though it is owned and has a group of the user who made it i don't think this is what i want.
If you want files created under that directory to belong to group "webdev" you should set permissions to 2775 (first "2" is for "g+s" or setgid bit) on the directories under /var/www/test.example.com/data. This will force new files and directories to have the same group as the parent directory, and new subdirectories to have the setgid bit as well (so that files under those will have the same group too).
[Tue Aug 18 12:33:19 2009] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/test.example.com/data/New Folder [Tue Aug 18 12:33:20 2009] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: Unable to create collection. [403, #0] xxx.xxx.xxx.xxx - user [18/Aug/2009:12:33:19 -0500] "HEAD /New%20Folder HTTP/1.1" 404 - xxx.xxx.xxx.xxx - user [18/Aug/2009:12:33:20 -0500] "MKCOL /New%20Folder HTTP/1.1" 403 212
directory permissions: drwxrwxr-x 2 root webdev 4096 Aug 18 12:31 data/
Does the "apache" user belong to the "webdev" group? What does "id apache" return? Did you restart Apache after adding the user to the "webdev" group?
HTH, Filipe