delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/14/00:44:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Jehan <nahor AT bravobrava DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: Permission denied on a windows share
Date: Sat, 13 Jul 2002 21:44:28 -0700
Lines: 24
Message-ID: <3D3101AC.7050905@bravobrava.com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713194509 DOT 02bb9210 AT pop3 DOT cris DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713204337 DOT 02acf938 AT pop3 DOT cris DOT com>
NNTP-Posting-Host: adsl-64-168-83-170.dsl.snfc21.pacbell.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1026621815 4444 64.168.83.170 (14 Jul 2002 04:43:35 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sun, 14 Jul 2002 04:43:35 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a+) Gecko/20020708
X-Accept-Language: en-us, en

Randall R Schulz wrote:
> One thing is certain, Cygwin cannot override Windows permissions. If you 
> can read (or write or remove, etc.) the file from a Cygwin application, 
> you can read (write, remove) it from a Windows native app. I'm not 
> certain the reverse is true, however.

Obviously it isn't since I can modify a file with Notepad but I can't 
modify the same file with Cygwin. The question is why. Cygwin seems to 
check if me (local user jehan) has write access to the file (the answer 
is no, a local user can't exists on a domain anyway, it's the other me 
(domain user jehan) that has write access). But why does cygwin check 
that, why doesn't it leave it to Windows to verify the permissions?


> Sorry to equivocate so, but since you seemed a little desperate, I 
> figured I'd try to help.

Not desperate. Frustrated more likely. You see, I'm jongling between a 
Unix box (where my account is) and Windows. So there are files I share 
between the two (like the .bashrc, .ssh and the like). And not being 
able to write to those files can be annoying.

	Jehan




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019