From: Robin Rosenberg Date: Fri, 24 Aug 2007 19:33:26 GMT Subject: Re: tracking perms/ownership Message-ID: <200708242133.27324.robin.rosenberg.lists@dewire.com> In-Reply-To: <1187979317.6357.155.camel@beauty> fredag 24 augusti 2007 skrev Josh England: > punt :) Simple unix ownership and perms are a good first cut. ACL's > could probably be handled in much the same way, but converting between > unix perms and ACLs might have to be a separate attribute/filter > entirely. You cannot convert between traditional unix permissisons and ACL:s. Either you manage ACL:s or not. The traditional form is fortunately just a special case of posix ACL:s. Here is a getfacl example. Just feed it to setfacl to set permissions according to the dump. $ getfacl README # file: README # owner: me # group: me user::rw- group::r-- group:apache:rwx mask::rwx other::r-- Windows ACL.s are different though. -- robin