X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 2 Apr 2009 17:28:02 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [1.7]: /usr/bin/install fails on network drives
Message-ID: <20090402152802.GA12738@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <49D4AC45.7040203@ecn.nl> <20090402150158.GX12738@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090402150158.GX12738@calimero.vinschen.de>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

