On 5/8/2012 8:22 PM, David wrote:
> 
> 
> On Tue, May 8, 2012 at 9:34 PM, Mark Sapiro <m...@msapiro.net
> <mailto:m...@msapiro.net>> wrote:
> 
> 
>     What about newly archived messages. Presumably, those are not owned by
>     www-data. can you access them?
> 
> 
> They are owned by www-data and I can access them. The reason they are
> owned by www-data is because of the directory permissions the
> "bin/check_perms -f" command created:
> 
> drwxrwsr-x 2 www-data list  4096 May  8 22:42 .
> 
> The group "s" permission, which the check_perms script set, does the
> following:
> 
>     If the SGID (Set Group Identification) attribute is set on a
>     directory, files created in that directory inherit its group ownership. 


Yes, and what that means is that created subordinate directories will be
group 'list' and SETGID, and created subordinated files will be group 'list'

But, the owner, not the group, will be the id of the user that created
them which for archived files will normally be 'list' not 'www-data'
because the files are created by ArchRunner, not by the web server.

So, back to my original questions. What is the ownership of files
archived after you ran your 'chown -R', and can you access them, and
what were the ownership and permissions of some example archived
messages and their containing directories before you changed them?

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to