X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 2 Apr 2009 17:01:58 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7]: /usr/bin/install fails on network drives Message-ID: <20090402150158.GX12738@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <49D4AC45 DOT 7040203 AT ecn DOT nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49D4AC45.7040203@ecn.nl> User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Apr 2 14:15, A.R. Burgers wrote: > LS, > > /usr/bin/install fails for me with cygwin 1.7 on network drives. > Also mv has issues. Below is the output of the attached script bug.sh. > > On a local directory everything goes fine. On network drives, > I get "Permission denied" messages (although I have write permission and > the files are copied) > > attachment zz3_trace_install.txt has the strace output of /usr/bin/install. > There is a "windows error 5" in the output. > > Teun > > 1.7.0(0.210/5/3) > solcygin: //ecn/groups/g_zon_software/cygwin17 > sh: //ecnits/ecnshare/zon/burgers > installing zz1.txt into /tmp .. > -rw-r--r-- 1 burgers Domain Users 0 Apr 2 14:00 /tmp/zz1.txt > moving zz1.txt into /tmp .. > -rw-r--r-- 1 burgers Domain Users 0 Apr 2 14:01 /tmp/zz1.txt > installing zz2.txt into //ecnits/ecnshare/zon/burgers .. > -rw-r--r-- 1 ???????? ???????? 0 Apr 2 14:00 > //ecnits/ecnshare/zon/burgers/zz2.txt > moving zz2.txt into //ecnits/ecnshare/zon/burgers .. > mv: failed to preserve ownership for > `//ecnits/ecnshare/zon/burgers/zz2.txt': Permission denied Are these Samba shares by any chance? I can reproduce this only for Samba shares, not for remote Windows NTFS drives. I have an idea why this occurs, at least in my configuration. My Linux user account under which files are stored is not equivalent to my Active Directory account since I'm not running winbind. Are you using a winbind mapping from Windows SID to uid/gid? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/