FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-11-2010, 05:25 PM
Andy Graybeal
 
Default Copying files from flash drive and incorrect ACL inheritance

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@buddleia:/etc/X11/Xsession.d$ cat 45umask_002
umask 002

andy.graybeal@buddleia:/etc/X11/Xsession.d$

The ACL's on my Tech folder for instance are:
andy.graybeal@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
defaultther::r-x

andy.graybeal@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@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@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@buddleia:/srv/Desktop/Tech$ getfacl cabling.txt
# file: cabling.txt
# owner: andy.graybeal
# group: tech
user::rwx
group::rwx #effective:---
mask::---
other::---

andy.graybeal@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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 04:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org