This is the mail archive of the
cygwin
mailing list for the Cygwin project.
permission denied when removing files on remote file share that is offline
- 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
Hi
I think my problem appeared after upgrading to cygwin 1.7.7 but it might have 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 create on the share when it's offline:
$ 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 delete the file with Windows Explorer. getfacl doesn't show anything strange. I can delte the file once the file share gets @connected@ again. Everything works fine on my local disks.
This happens both when specifying the file share, or when using a drive letter:
$ 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 Windows 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