Best way to work with files with groups of people

Paul Nuffer paul.nuffer at uvu.edu
Mon Oct 4 16:29:58 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/02/2010 07:15 AM, Andy Graybeal wrote:
> The problem I'm running into is when a user takes work home with them or 
> creates files from home, comes into work the next day and puts it onto 
> the server from a flash drive.
> ...
> This file inherited the 'group ownership' so that's good, but it doesn't 
> inherit the permissions.
> 
> How do I make this so that when someone copies a file from their jump 
> drive into their folder, it inherits the permissions from the folder 
> (well everything but execute obviously)?
> 

Are you sure you're copying the file from the thumb drive, and not
moving? mv attempts to preserve the original ACL, if possible. Also, `cp
- -P` will attempt to preserve the ACL.

That's all I could come up with that might be hindering you. My next
step would be to check for evil gnomes, but that may be regional.

HTH,
Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkyqAQYACgkQGSnk2uvWQRex4QCgglBnlwMQDfOcgEf1cUx59tob
CusAnAhMpMBSW6jgMc0i04j0VALlRwNt
=fXGA
-----END PGP SIGNATURE-----




More information about the ubuntu-server mailing list