delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/02/10:28:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 2 Apr 2009 17:28:02 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7]: /usr/bin/install fails on network drives
Message-ID: <20090402152802.GA12738@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> <20090402150158 DOT GX12738 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20090402150158.GX12738@calimero.vinschen.de>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Apr  2 17:01, Corinna Vinschen wrote:
> 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.

Oh, btw., install works fine for me, only mv complains with "failed to
preserve ownership".  Your above example also doesn't show any error on
install...


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/

- Raw text -


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