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 21:34:47 UTC 2010
>>
>> So.. if someone takes a file home and works on it and brings it back, I
>> think it loses it's permissions, as well as if someone creates a file on
>> their system at home and brings it in to work.
>
> So if I understand correctly, you could create a script in all
> locations that could change the owner of each file depending on where
> it was.
>
> So the script in your Tech folder could do:
> for file in *.*; do chown<some_user>:tech {file}; done
>
>
> This would change the owner of all the files in the current directory
> to<some_user> in the tech group.
>
> I'm just not sure what I should use for<some_user>.
>
gahh... i hope this isn't the way to deal with this, no offense.. but it
sounds kludgey, and scary and easily broken.
-andy
More information about the ubuntu-users
mailing list