Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Corinna Vinschen
On Jul 29 13:48, Marco Atzeri wrote: > --- Tom Quarendon ha scritto: > > Hi Tom, > This is more a question for the mailing list > > > > > > this means that "Authenticated Users" is missing > > in > > > your /etc/group > > > > > > getfacl use /etc/group to translate SID in group > > name, > > >

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Marco Atzeri
--- Tom Quarendon ha scritto: Hi Tom, This is more a question for the mailing list > > > this means that "Authenticated Users" is missing > in > > your /etc/group > > > > getfacl use /etc/group to translate SID in group > name, > > but if the row is missing getfacl will ignore > > the unknow SI

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Corinna Vinschen
On Jul 29 10:21, Tom Quarendon wrote: > >> cp only copies POSIX permissions. This is consistent with POSIX >> semantics which states that when copying a file the POSIX ACL isn't >> copied as well. Having file permissions set for "authenticated users" >> but not for the actual owner is Win32 seman

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Marco Atzeri
--- Tom Quarendon ha scritto: > Two issues as I see it. > Firstly, cygwin doesn't appear to pick up that I > have write access to > the file README.txt. The getacl output below doesn't > list Authenticated Users. this means that "Authenticated Users" is missing in your /etc/group getfacl use

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Tom Quarendon
cp only copies POSIX permissions. This is consistent with POSIX semantics which states that when copying a file the POSIX ACL isn't copied as well. Having file permissions set for "authenticated users" but not for the actual owner is Win32 semantics. There's no 1:1 translation. Which rat

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Corinna Vinschen
On Jul 29 08:49, Tom Quarendon wrote: > Two issues as I see it. > Firstly, cygwin doesn't appear to pick up that I have write access to the > file README.txt. The getacl output below doesn't list Authenticated Users. > I can't use vi to modify the file, but I can read the file using cat and so >

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Tom Quarendon
Two issues as I see it. Firstly, cygwin doesn't appear to pick up that I have write access to the file README.txt. The getacl output below doesn't list Authenticated Users. I can't use vi to modify the file, but I can read the file using cat and so on. Secondly, cp takes a source file that I

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Larry Hall (Cygwin)
Tom Quarendon wrote: Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it loo

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Marco Atzeri
--- Tom Quarendon ha scritto: > Larry Hall (Cygwin) wrote: > > I'd start at the source. Give yourself > POSIX-style access to the files > > to start with. 'cp' will preserve that access. > 'cp' and many other > > utilities don't take ACL permissions into account. > They are silently > > ignor

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Hugh Sasse
On Mon, 28 Jul 2008, Tom Quarendon wrote: Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Tom Quarendon
Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it looks like your source fi

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Tom Quarendon
Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it looks like your source

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Tom Quarendon
Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it looks like your source f

Re: Problems with file permissions and cp when running on Vista

2008-07-25 Thread Larry Hall (Cygwin)
Tom Quarendon wrote: I'm getting problems copying files when running on my vista machine. I've got full vista UAC control turned on. I have a source file, and if I do getfacl I get: $ getfacl analysisLanguageResults.gif # file: analysisLanguageResults.gif # owner: Tom # group: None user::--- gr

Problems with file permissions and cp when running on Vista

2008-07-25 Thread Tom Quarendon
I'm getting problems copying files when running on my vista machine. I've got full vista UAC control turned on. I have a source file, and if I do getfacl I get: $ getfacl analysisLanguageResults.gif # file: analysisLanguageResults.gif # owner: Tom # group: None user::--- group::--- group:SYSTEM: