mv, cp, and sgid on directories (was: cp -p)

2008-02-09 Thread Jonathan McKeown
I think you may be getting too deep into the detail. Think of the bigger picture: when I move a file, I don't expect that to change its ownership or permissions - it would surprise me if it did; when I make a copy of a file, I expect to own the copy - after all, what use is a private copy I

Re: mv, cp, and sgid on directories (was: cp -p)

2008-02-09 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan McKeown wrote: The bit that still worries me in this discussion is the sgid bit (pun not intended, but I'm not going to delete it now!): as I understand it, creating a file has different behaviour on SYSV-derived systems and