Mail Archives: cygwin/2011/05/11/03:52:28
X-Recipient: | archive-cygwin AT delorie DOT com
|
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
|
MIME-Version: | 1.0
|
In-Reply-To: | <4DCA3BE4.7050405@towo.net>
|
References: | <BANLkTimHmh=pMYATsM783Jzx3_iFsk7+LQ AT mail DOT gmail DOT com> <4DCA36E1 DOT 5060208 AT towo DOT net> <BANLkTim7vviC7j6BZTGhBbRAJmQkTt0S3g AT mail DOT gmail DOT com> <4DCA3BE4 DOT 7050405 AT towo DOT net>
|
Date: | Wed, 11 May 2011 09:52:00 +0200
|
Message-ID: | <BANLkTi=f48W6P3Yn14Kf2BSU9V1+V0r7RA@mail.gmail.com>
|
Subject: | Re: can modify file on network drive, but cannot create files
|
From: | Xianwen Chen <xianwen DOT chen AT gmail DOT com>
|
To: | Thomas Wolff <towo AT towo DOT net>, cygwin AT cygwin DOT com
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Thomas,
Thanks a lot!
On Wed, May 11, 2011 at 9:33 AM, Thomas Wolff <towo AT towo DOT net> 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<towo AT towo DOT net> =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 AT dr DOT 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
- Raw text -