Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Newsgroups: gmane.os.cygwin Subject: Re: Permission denied on a windows share Date: Mon, 15 Jul 2002 08:54:04 -0700 Lines: 29 Message-ID: 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> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020713220237 DOT 02acf568 AT pop3 DOT cris DOT com> <20020715112557 DOT E6932 AT cygbert DOT vinschen DOT de> NNTP-Posting-Host: adsl-64-168-83-170.dsl.snfc21.pacbell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1026748444 12159 64.168.83.170 (15 Jul 2002 15:54:04 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Mon, 15 Jul 2002 15:54:04 +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 Jehan wrote: > Corinna Vinschen wrote: > >>> Why would cygwin need to do more security checking than Windows does? >>> Why would cygwin deny me write access to a file when I can do it with >>> any other Windows application? >> >> It shouldn't. If the situation is *actually* as you describe it, >> then there's a bug in Cygwin. However, this requires some debugging >> in the environment in which this happens... yours. Perhaps an strace >> of the failing call helps. > > Cool. Thanks. > Here is the strace from a command "cp /tmp/install.sh .", with tmp being > on my local drive and "." being "//server/jehan". By the way, if it's of any help, the resulting file is: -rwxr--r-- 1 jehan jehan 0 Jul 15 08:23 install.sh Where the user jehan is the domain user (S-1-5-21-3623677106-2853146667-3172526154-2002). The group jehan, I added it myself to /etc/group because I can't get domain groups with "mkgroup -d" (samba (our PDC) doesn't support domain groups AFIAK) (in /etc/group: jehan:2007:2007:) And I'm logged as the local user jehan (S-1-5-21-2052111302-1580818891-725345543-1003). 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/