public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* can modify file on network drive, but cannot create files
@ 2011-05-11  7:01 Xianwen Chen
  2011-05-11  7:12 ` Thomas Wolff
  0 siblings, 1 reply; 6+ messages in thread
From: Xianwen Chen @ 2011-05-11  7:01 UTC (permalink / raw)
  To: cygwin

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

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can modify file on network drive, but cannot create files
  2011-05-11  7:01 can modify file on network drive, but cannot create files Xianwen Chen
@ 2011-05-11  7:12 ` Thomas Wolff
  2011-05-11  7:24   ` Xianwen Chen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Wolff @ 2011-05-11  7:12 UTC (permalink / raw)
  To: cygwin


> 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 the remote server? Ask the administrator.
------
Thomas

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can modify file on network drive, but cannot create files
  2011-05-11  7:24   ` Xianwen Chen
@ 2011-05-11  7:23     ` Xianwen Chen
  2011-05-11  7:35     ` Thomas Wolff
  1 sibling, 0 replies; 6+ messages in thread
From: Xianwen Chen @ 2011-05-11  7:23 UTC (permalink / raw)
  To: cygwin

Hi Thomas,

Thanks a lot for your email!

The remote server runs Windows Server 2008 R2 Enterprise.

I have not exceeded the quota.

Cygwin cannot delete files on H in both root and sub directories.

Xianwen

On Wed, May 11, 2011 at 9:22 AM, Xianwen Chen <xianwen.chen@umb.no> wrote:
> Hi Thomas,
>
> Thanks a lot for your email!
>
> The remote server runs Windows Server 2008 R2 Enterprise.
>
> I have not exceeded the quota.
>
> Cygwin cannot delete files on H in both root and sub directories.
>
> Xianwen
>
> On Wed, May 11, 2011 at 9:12 AM, Thomas Wolff <towo@towo.net> wrote:
>>
>>> 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 the
>> remote server? Ask the administrator.
>> ------
>> Thomas
>>
>> --
>> 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
>>
>>
>
>
>
> --
> Backup email: xianwen.chen@gmail.com
>

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can modify file on network drive, but cannot create files
  2011-05-11  7:12 ` Thomas Wolff
@ 2011-05-11  7:24   ` Xianwen Chen
  2011-05-11  7:23     ` Xianwen Chen
  2011-05-11  7:35     ` Thomas Wolff
  0 siblings, 2 replies; 6+ messages in thread
From: Xianwen Chen @ 2011-05-11  7:24 UTC (permalink / raw)
  To: Thomas Wolff, cygwin

Hi Thomas,

Thanks a lot for your email!

The remote server runs Windows Server 2008 R2 Enterprise.

I have not exceeded the quota.

Cygwin cannot delete files on H in both root and sub directories.

Xianwen

On Wed, May 11, 2011 at 9:12 AM, Thomas Wolff <towo@towo.net> wrote:
>
>> 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 the
> remote server? Ask the administrator.
> ------
> Thomas
>
> --
> 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
>
>



-- 
Backup email: xianwen.chen@gmail.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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can modify file on network drive, but cannot create files
  2011-05-11  7:24   ` Xianwen Chen
  2011-05-11  7:23     ` Xianwen Chen
@ 2011-05-11  7:35     ` Thomas Wolff
  2011-05-11  7:52       ` Xianwen Chen
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Wolff @ 2011-05-11  7:35 UTC (permalink / raw)
  To: cygwin; +Cc: Xianwen Chen


> Hi Thomas,
>
> Thanks a lot for your email!
>
> The remote server runs Windows Server 2008 R2 Enterprise.
>
> I have not exceeded the quota.
>
> Cygwin cannot delete files on H in both root and sub directories.
>
> Xianwen
OK, in your first message you wrote you can delete but not create files 
which would have been strange.
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 
chmod +w /cygdrive/h. If you are not the owner of your own network 
directory, ask your server administrator to fix that.
------
Thomas

> On Wed, May 11, 2011 at 9:12 AM, Thomas Wolff<towo@towo.net>  wrote:
>>> 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 the
>> remote server? Ask the administrator.
>> ------
>> Thomas
>>
>> --
>> 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
>>
>>
>
>


--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can modify file on network drive, but cannot create files
  2011-05-11  7:35     ` Thomas Wolff
@ 2011-05-11  7:52       ` Xianwen Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Xianwen Chen @ 2011-05-11  7:52 UTC (permalink / raw)
  To: Thomas Wolff, cygwin

Hi Thomas,

Thanks a  lot!

On Wed, May 11, 2011 at 9:33 AM, Thomas Wolff <towo@towo.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 chmod

$ 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, ask
> 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@towo.net>  wrote:
>>>>
>>>> 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 the
>>> remote server? Ask the administrator.
>>> ------
>>> Thomas
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>
>
> --
> 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
>
>

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-11  7:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11  7:01 can modify file on network drive, but cannot create files Xianwen Chen
2011-05-11  7:12 ` Thomas Wolff
2011-05-11  7:24   ` Xianwen Chen
2011-05-11  7:23     ` Xianwen Chen
2011-05-11  7:35     ` Thomas Wolff
2011-05-11  7:52       ` Xianwen Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).