delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.4 required=5.0 tests=AWL,BAYES_00,BOTNET |
X-Spam-Check-By: | sourceware.org |
Message-id: | <4B881CC8.60704@cygwin.com> |
Date: | Fri, 26 Feb 2010 14:11:04 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-to: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: chmod Permission Error with Non-Windows Paths |
References: | <F8F0141514246148920A91CB18888D3D172930A8FB AT NASANEXMB09 DOT na DOT qualcomm DOT com> |
In-reply-to: | <F8F0141514246148920A91CB18888D3D172930A8FB@NASANEXMB09.na.qualcomm.com> |
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 |
On 02/26/2010 01:38 PM, Holmberg, Eric wrote: > I'm seeing an "Permission denied" failure when using chmod on a mapped network drive. The problem doesn't occur on the local drive and if I use a Windows-style backslash in the name, it works?! > > CYGWIN_NT-5.1 EHOLMBER-XP 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin > > $ echo $CYGWIN > nontsec Here's your problem. <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> > eholmber AT EHOLMBER-XP /cygdrive/b > $ touch test.txt > > $ ls -l test.txt > -rwx------+ 1 eholmber Domain Users 0 2010-02-26 11:16 test.txt > > $ ls -l .\\test.txt > -rw-r--r-- 1 eholmber Domain Users 0 2010-02-26 11:16 .\test.txt > > $ chmod +w test.txt > chmod: changing permissions of `test.txt': Permission denied > > $ chmod +w .\\test.txt > > $ ls -l .\\test.txt > -rw-r--r-- 1 eholmber Domain Users 0 2010-02-26 11:16 .\test.txt > > > Any help is greatly appreciated! We very much prefer to see cygcheck output unedited and *attached*, not appended. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |