umask, ACL inheritance and setgid +s not working with copy from flash drive in nautilus

Andy Graybeal andy.graybeal at casanueva.com
Tue Sep 14 13:17:06 UTC 2010


On 09/14/2010 08:47 AM, Nils Kassube wrote:
> Andy Graybeal wrote:
>> Why when I copy a file from a jump/flash drive, does it not inherit
>> the ACL's properly?
>
>> Is it because I copied it from a FAT file system?  My jump drive is
>> probably FAT16.
>
> While I'm not familiar with ACLs, I'm sure that FAT doesn't know
> anything about Linux permissions and therefore also not about ACLs.
>
> If you want to preserve Linux permissions, use tar to make an archive
> which keeps the Linux permissions. OTOH, I'm not so sure if tar can
> handle ACLs.
>
>
> Nils
>
Nils,
I understand that FAT doesn't recognize linux perms.  I guess I imagined 
that when I copied a file from a FAT filesystem (or any filesystem for 
that matter) to a filesystem with ACL's enabled that it would inherit 
the ACL's that I set the folder to be.

Also, I'm not trying to archive anything this way, some folks find it 
useful to put files onto a jump drive to edit while they are away from 
work and when they come back to work and put the files onto the file 
server, the files don't inherit the ACLs set on the directories :(

I admit that I'm still green and don't quite grasp all of this.

Maybe a better question would be how do I get files that I copy into a 
folder to inherit the folders permissions and set the group owner to the 
group owner of the folder.

Thank you for your response!
-Andy




More information about the ubuntu-users mailing list