Andy Graybeal wrote:
> This is a repeat question, I'm going to rephrase it a little and maybe
> I'll get a response this time around.
> I'm using Ubuntu 10.04, metacity and nautilus, and linux terminal server
> My umask is set to 002 in my /etc/X11/Xsession.d.
> The filesystem has ACL's enabled.
> I have the folder set with setgid +s.
> The ACL's look like this:
> andy.graybeal@buddleia:/srv/Desktop/Tech$ getfacl .
> # file: .
> # owner: root
> # group: tech
> # flags: -s-
> Why when I copy a file from a jump/flash drive, does it not inherit the
> ACL's properly?
> Here is an example of a file I copied from a jump drive:
> andy.graybeal@buddleia:/srv/Desktop/Tech$ ls -lah cabling.txt
> -rwx------+ 1 andy.graybeal tech 2.8K 2010-07-28 20:40 cabling.txt
Depends how you copy the file... in this case, it looks as though the
copy tried to preserve the traditional Posix permissions and therefore
ruined your mask. Was this copy done by nautilus? You need to copy
files wihout preserving their original attributes (at least,
permissions) if you want inheritance to work correctly.
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users