Re: Oddities with file deletion on CIFS drive

2010-09-13 Thread Corinna Vinschen
On Sep 12 15:08, Quanah Gibson-Mount wrote: > --On Sunday, September 12, 2010 2:21 PM -0700 Quanah Gibson-Mount wrote: > > >Hi Corinna, > > > >I will give the snapshot a test. Here is the output of attrib: > > > >bu...@zre-win-002 > >/cygdrive/z/current/WINDOWS/ZDESKTOP-608/20100912050101_ZDESKTO

Re: Oddities with file deletion on CIFS drive

2010-09-12 Thread Quanah Gibson-Mount
--On Sunday, September 12, 2010 2:21 PM -0700 Quanah Gibson-Mount wrote: Hi Corinna, I will give the snapshot a test. Here is the output of attrib: bu...@zre-win-002 /cygdrive/z/current/WINDOWS/ZDESKTOP-608/20100912050101_ZDESKTOP/ZimbraBu ild/templates $ attrib BUILD_ISYNC_template AR Z:

Re: Oddities with file deletion on CIFS drive

2010-09-12 Thread Quanah Gibson-Mount
--On Sunday, September 12, 2010 1:43 PM +0200 Corinna Vinschen wrote: On Sep 11 12:41, Corinna Vinschen wrote: On Sep 10 10:48, Quanah Gibson-Mount wrote: > --On Friday, September 10, 2010 7:09 PM +0200 Corinna Vinschen wrote: > > >> Let me know if there is anything else I can provide. > > > >

Re: Oddities with file deletion on CIFS drive

2010-09-12 Thread Corinna Vinschen
On Sep 11 12:41, Corinna Vinschen wrote: > On Sep 10 10:48, Quanah Gibson-Mount wrote: > > --On Friday, September 10, 2010 7:09 PM +0200 Corinna Vinschen wrote: > > > > >>Let me know if there is anything else I can provide. > > > > > >I'm not sure. I don't think so. The problem is that the unlin

Re: Oddities with file deletion on CIFS drive

2010-09-11 Thread Corinna Vinschen
On Sep 10 10:48, Quanah Gibson-Mount wrote: > --On Friday, September 10, 2010 7:09 PM +0200 Corinna Vinschen wrote: > > >>Let me know if there is anything else I can provide. > > > >I'm not sure. I don't think so. The problem is that the unlink(2) > >function in Cygwin does not get any error cod

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Quanah Gibson-Mount
--On Friday, September 10, 2010 7:09 PM +0200 Corinna Vinschen wrote: Let me know if there is anything else I can provide. I'm not sure. I don't think so. The problem is that the unlink(2) function in Cygwin does not get any error code from any of the OS functions it calls. So, from the Cyg

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Corinna Vinschen
On Sep 10 09:47, Quanah Gibson-Mount wrote: > The files are created with a native Win32 application (Perforce), > where it is checking these files out of the Perforce repository. > > Here is the output from cacls prior to +w/-w: > bu...@zre-win-002 > /cygdrive/z/current/WINDOWS/main/2010090813145

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Quanah Gibson-Mount
--On Friday, September 10, 2010 11:16 AM +0200 Corinna Vinschen <> wrote: On Sep 8 15:17, Quanah Gibson-Mount wrote: I have a CIFS drive I connect to as the windows user. I can write to the drive with no problem. However, when I go to delete files from the drive, Cygwin behaves very oddly.

Re: Oddities with file deletion on CIFS drive

2010-09-10 Thread Corinna Vinschen
On Sep 8 15:17, Quanah Gibson-Mount wrote: > I have a CIFS drive I connect to as the windows user. I can write > to the drive with no problem. However, when I go to delete files > from the drive, Cygwin behaves very oddly. > > bu...@zre-win-002 > /cygdrive/z/current/WINDOWS/main/20100908131458

Re: Oddities with file deletion on CIFS drive

2010-09-09 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 10:50 PM -0400 "Larry Hall (Cygwin)" wrote: Yeah, there's been plenty of these network appliances that really foul up their implementation of permissions. MVFS and NetApp are a couple in the past that have had problems. If you have the csih package installe

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 10:21 PM, Quanah Gibson-Mount wrote: --On Wednesday, September 08, 2010 7:12 PM -0700 Quanah Gibson-Mount wrote: That covers all the obvious things for me. I'd recommend taking a look at the SAMBA server to see if user IDs are mapped correctly. Also, I know there were some problems

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 7:12 PM -0700 Quanah Gibson-Mount wrote: That covers all the obvious things for me. I'd recommend taking a look at the SAMBA server to see if user IDs are mapped correctly. Also, I know there were some problems in the past with older Samba servers, bugs and

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 9:55 PM -0400 "Larry Hall (Cygwin)" <> wrote: bu...@zre-win-002 ~ $ id build uid=503(build) gid=513(None) groups=513(None) bu...@zre-win-002 ~ $ grep build /etc/passwd build:unused:503:513:U-ZRE-WIN-002\build,S-1-5-21-1229272821-2049760794- 1417001333-1003:/h

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 7:07 PM, Quanah Gibson-Mount wrote: --On Wednesday, September 08, 2010 6:51 PM -0400 "Larry Hall (Cygwin)" <> wrote: OK, take a look at . You'll want to use 'mkpasswd' and 'mkgroup' to get the passwd and group files fixed up.

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 6:51 PM -0400 "Larry Hall (Cygwin)" <> wrote: OK, take a look at . You'll want to use 'mkpasswd' and 'mkgroup' to get the passwd and group files fixed up. I've read that page multiple times, and it still

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 6:45 PM, Quanah Gibson-Mount wrote: --On Wednesday, September 08, 2010 6:37 PM -0400 "Larry Hall (Cygwin)" <> wrote: I think you need to look at why the user that created the files in the first place isn't known to Cygwin. If you can solve that problem, you may find the rest fall

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 6:37 PM -0400 "Larry Hall (Cygwin)" <> wrote: $ ls -l total 104 -r-xr-xr-x 1 1362 2010-09-08 13:31 BUILD_EVO_template I think you need to look at why the user that created the files in the first place isn't known to Cygwin. If you can so

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Larry Hall (Cygwin)
On 9/8/2010 6:17 PM, Quanah Gibson-Mount wrote: I have a CIFS drive I connect to as the windows user. I can write to the drive with no problem. However, when I go to delete files from the drive, Cygwin behaves very oddly. $ ls -l total 104 -r-xr-xr-x 1 1362 2010-09-08 13:3

Re: Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
--On Wednesday, September 08, 2010 3:17 PM -0700 Quanah Gibson-Mount <> wrote: This behavior is quite bizarre. I should be able to delete the files I created with the "-f" option to "rm". Also, if I mount it on a linux box via CIFS, I can delete files on this drive no issue. So it is d

Oddities with file deletion on CIFS drive

2010-09-08 Thread Quanah Gibson-Mount
I have a CIFS drive I connect to as the windows user. I can write to the drive with no problem. However, when I go to delete files from the drive, Cygwin behaves very oddly. bu...@zre-win-002 /cygdrive/z/current/WINDOWS/main/20100908131458_ZDESKTOP/ZimbraBuild/templates $ rm -f * bu...@zre