Re: cp -p

2008-02-08 Thread Pietro Cerutti
Jonathan McKeown wrote: > On Thursday 07 February 2008 20:07, Pietro Cerutti wrote: > >> HostServer exports via NFS /www, which belongs to user:www >> (uid=1001, gid=80). The directory has the segid flag set: >> >> drwsr-xr-x 13 user www 512 Feb 7 00:58 www >> >> HostClient mounts the exported di

Re: cp -p

2008-02-08 Thread Jonathan McKeown
On Thursday 07 February 2008 20:07, Pietro Cerutti wrote: > HostServer exports via NFS /www, which belongs to user:www > (uid=1001, gid=80). The directory has the segid flag set: > > drwsr-xr-x 13 user www 512 Feb 7 00:58 www > > HostClient mounts the exported directory on /share/www. HostClient

Re: cp -p

2008-02-07 Thread Pietro Cerutti
Chuck Swiger wrote: > On Feb 7, 2008, at 10:42 AM, Pietro Cerutti wrote: >> From HostClient: >> >>> ls -al /share/ >> drwxr-sr-x 4 User www 512 Feb 7 19:23 www >> >>> touch /share/www/foo >>> ls -l /share/www/foo >> -rw-r- 1 user www 0 Feb 7 19:39 /share/www/foo >> >> (group i

Re: cp -p

2008-02-07 Thread Chuck Swiger
On Feb 7, 2008, at 10:42 AM, Pietro Cerutti wrote: From HostClient: ls -al /share/ drwxr-sr-x 4 User www 512 Feb 7 19:23 www touch /share/www/foo ls -l /share/www/foo -rw-r- 1 user www 0 Feb 7 19:39 /share/www/foo (group id works) Right, this is the BSD setgid seman

Re: cp -p

2008-02-07 Thread Pietro Cerutti
Pietro Cerutti wrote: > Chuck Swiger wrote: >> On Feb 7, 2008, at 10:07 AM, Pietro Cerutti wrote: >>> here's the situation: >>> >>> HostServer exports via NFS /www, which belongs to user:www >>> (uid=1001, gid=80). The directory has the segid flag set: >>> >>> drwsr-xr-x 13 user www 512 Feb 7 00:5

Re: cp -p

2008-02-07 Thread Pietro Cerutti
Chuck Swiger wrote: > On Feb 7, 2008, at 10:07 AM, Pietro Cerutti wrote: >> here's the situation: >> >> HostServer exports via NFS /www, which belongs to user:www >> (uid=1001, gid=80). The directory has the segid flag set: >> >> drwsr-xr-x 13 user www 512 Feb 7 00:58 www > > Umm, that directory

Re: cp -p

2008-02-07 Thread Chuck Swiger
On Feb 7, 2008, at 10:07 AM, Pietro Cerutti wrote: here's the situation: HostServer exports via NFS /www, which belongs to user:www (uid=1001, gid=80). The directory has the segid flag set: drwsr-xr-x 13 user www 512 Feb 7 00:58 www Umm, that directory you show has the setuid bit set, not se