Copying files from flash drive and incorrect ACL inheritance
Andy Graybeal
andy.graybeal at casanueva.com
Sat Sep 11 17:25:44 UTC 2010
Greetings,
I'm running Ubuntu 10.04, it's running as a LTSP server and it's got
ACL's enabled on the /srv filesystem.
We're using metacity and nautilus.
What is happening is when I move files from a flash/jump drive on a
client the files are not adhering to the the umask or the ACL's
inheritance or setgid +s (if that's proper to say).
I have the umask set in /etc/X11/Xsession.d/45umask_002:
andy.graybeal at buddleia:/etc/X11/Xsession.d$ cat 45umask_002
umask 002
andy.graybeal at buddleia:/etc/X11/Xsession.d$
The ACL's on my Tech folder for instance are:
andy.graybeal at buddleia:/srv/Desktop/Tech$ getfacl .
# file: .
# owner: root
# group: tech
# flags: -s-
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:mask::rwx
default:other::r-x
andy.graybeal at buddleia:/srv/Desktop/Tech$
I've copied cabling.txt from a jumpdrive into /srv/Desktop/Tech folder.
Here's what it looks like in my Tech folder:
andy.graybeal at buddleia:/srv/Desktop/Tech$ ls -al
total 40
drwxrwsr-x+ 7 root tech 4096 2010-09-11 12:58 .
drwxrwxr-x 18 nobody nogroup 4096 2010-08-24 15:15 ..
-rw-rw-r-- 1 root tech 0 2010-08-10 00:32 bob
-rw-rw-r-- 1 andy.graybeal tech 0 2010-08-10 01:01 bob2
-rwx------+ 1 andy.graybeal tech 2812 2010-07-28 20:40 cabling.txt
-rw-rw-r-- 1 andy tech 0 2010-08-10 00:44 curly
drwxrwsr-x+ 12 andy tech 4096 2010-08-10 00:55 Documents
-rw-rw-r--+ 1 andy tech 0 2010-08-10 00:50 drwho
-rw-rw-r-- 1 andy.graybeal tech 0 2010-08-10 00:41 harold
-rwxrwxr-x+ 1 andy tech 174 2010-08-10 01:01 kidsmenu.sh
-rw-rw-r-- 1 michelle.wasserman tech 0 2010-08-10 01:01 larry
-rw-rw-r-- 1 michelle.wasserman tech 0 2010-08-10 00:42 moe
drwxrwsr-x+ 3 andy tech 4096 2010-08-10 01:01 POS Backups
drwxrwsr-x+ 5 andy tech 4096 2010-08-10 01:09 Software
drwxrwsr-x+ 2 andy tech 4096 2010-09-07 10:34 test
-rw-rw-r--+ 1 andy tech 0 2010-08-10 01:09 testing
-rw-rw-r--+ 1 andy tech 0 2010-08-10 01:09 testing002
-rw-rw-r--+ 1 andy tech 0 2010-08-10 01:09 testing123
-rw-rw-r--+ 1 andy tech 13 2010-08-10 01:09
testingX11002
drwxrwsr-x+ 6 andy tech 4096 2010-08-10 01:09 Website
andy.graybeal at buddleia:/srv/Desktop/Tech$
It looks like all the other files are behaving properly, accept
cabling.txt file.
Also here's the getfacl on the cabling.txt file:
andy.graybeal at buddleia:/srv/Desktop/Tech$ getfacl cabling.txt
# file: cabling.txt
# owner: andy.graybeal
# group: tech
user::rwx
group::rwx #effective:---
mask::---
other::---
andy.graybeal at buddleia:/srv/Desktop/Tech$
I'm not sure what more information would be needed to help solve this,
let me know if I need to gather more information.
If anyone can help solve this problem I would be very grateful.
-Andy
More information about the ubuntu-users
mailing list