www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/06/10:34:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=BAYES_50,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
From: "Thielemans, Kris" <kris DOT thielemans AT csc DOT mrc DOT ac DOT uk>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 6 Sep 2010 15:33:20 +0100
Subject: permission denied when removing files on remote file share that is offline
Message-ID: <5FA595E1BD1AE146A2069381870C99F2FBFC14CB@icexm6.ic.ac.uk>
MIME-Version: 1.0
X-IC-MsgID: 1Oscm7-00046A-9L
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi

I think my problem appeared after upgrading to cygwin  1.7.7 but it might h=
ave been present before that as well, I am not sure.

I'm using a file share with Offline Folders such that I can access it when =
not connected to our intranet. In cygwin I cannot remove any files that I c=
reate on the share when it's offline:=20

  $  touch /xxx/testfile
  $ rm /xxx/testfile
  rm: cannot remove `/xxx/testfile': Permission denied

I can create/modify the files without trouble, but not delete them. I can d=
elete the file with Windows Explorer. getfacl doesn't show anything strange=
. I can delte the file once the file share gets @connected@ again. Everythi=
ng works fine on my local disks.=20

This happens both when specifying the file share, or when using a drive let=
ter:

  $ mount //fileserver/myusername$ /xxx

  $ mount h: /xxx

Some extra info:
$ net use
New connections will be remembered.
Status       Local     Remote                    Network
---------------------------------------------------------------------------=
----
OK           H:        \\fileserver\myusername$               Microsoft Win=
dows Network
The command completed successfully.

after mounting the file share explicitly
$ mount |grep xxx
//fileserver/myusername$ on /xxx type ntfs (binary,notexec,user)


Anyone any suggestions?

Thanks!

Kris


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019