From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 977 invoked by alias); 11 May 2011 07:52:21 -0000 Received: (qmail 957 invoked by uid 22791); 11 May 2011 07:52:19 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_MK,TW_RW X-Spam-Check-By: sourceware.org Received: from mail-bw0-f43.google.com (HELO mail-bw0-f43.google.com) (209.85.214.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 May 2011 07:52:03 +0000 Received: by bwz14 with SMTP id 14so275847bwz.2 for ; Wed, 11 May 2011 00:52:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.126.73 with SMTP id b9mr3029215bks.193.1305100321549; Wed, 11 May 2011 00:52:01 -0700 (PDT) Received: by 10.204.16.70 with HTTP; Wed, 11 May 2011 00:52:00 -0700 (PDT) In-Reply-To: <4DCA3BE4.7050405@towo.net> References: <4DCA36E1.5060208@towo.net> <4DCA3BE4.7050405@towo.net> Date: Wed, 11 May 2011 07:52:00 -0000 Message-ID: Subject: Re: can modify file on network drive, but cannot create files From: Xianwen Chen To: Thomas Wolff , cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00151.txt.bz2 Hi Thomas, Thanks a lot! On Wed, May 11, 2011 at 9:33 AM, Thomas Wolff wrote: > > OK, in your first message you wrote you can delete but not create files > which would have been strange. I'm sorry that my bad command of English confused you. This is what I wanted to say: Cygwin can modify and delete, but not create files. > That you can neither delete nor create files (but still existing files) is > actually more normal (in terms of Unix-like permission). > Just check the permissions of the directory, they should include write > access for you. If you are the owner, you can easily change that with chm= od $ chmod +w /cygdrive/h/Temp chmod: changing permission of 'Temp': Permission denied. Thanks to your hint, I went on investigating: $ ls -l /cygdrive/h/ -rwx------+ 1 myusername mkpasswd 0 May 10 22:19 Temp I think the problem lies in the mkpasswd part of the ownership. In UNIX, mkpasswd would be the owner group of the folder. How about in Windows? > +w /cygdrive/h. If you are not the owner of your own network directory, a= sk > your server administrator to fix that. Yes, I think I have to talk to him about it. ;) Xianwen > ------ > Thomas > >> On Wed, May 11, 2011 at 9:12 AM, Thomas Wolff =C2=A0wrote: >>>> >>>> Hi Cygwiners, >>>> >>>> I need a hint. >>>> >>>> The network drive (\server\) is mounted as H:\. >>>> >>>> Cygwin can access files on H drive; can modify/delete files on H >>>> drive; however, it cannot create files. The program says permission >>>> denied. >>>> >>>> Do I need to write some configuration files? >>>> >>>> Xianwen >>> >>> What kind of network file system is it? >>> Assuming a Unix-like permission system, it is quite surprising that you >>> can >>> delete files but not create any. >>> Or maybe you can delete (and create) files in a subdirectory but not >>> create >>> (and delete) in the root directory H:\? >>> Otherwise it might be due to some unusual ACL settings on the remote >>> side, >>> or maybe you have exceeded your quota (amount of allowed capacity) on t= he >>> remote server? Ask the administrator. >>> ------ >>> Thomas >>> >>> -- >>> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html >>> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 htt= p://cygwin.com/faq/ >>> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html >>> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe= -simple >>> >>> >> >> > > > -- > Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html > FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:= //cygwin.com/faq/ > Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html > Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s= imple > > --=20 Backup email: v9@dr.com -- 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