X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "A.R. Burgers" <a.rburgers@quicknet.nl>
Subject:  Re: [1.7]: /usr/bin/install fails on network drives
Date:  Thu, 02 Apr 2009 22:53:27 +0200
Lines: 33
Message-ID:  <49D525C7.2060104@quicknet.nl>
References:  <49D4AC45.7040203@ecn.nl> <20090402150158.GX12738@calimero.vinschen.de> <20090402152802.GA12738@calimero.vinschen.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
In-Reply-To: <20090402152802.GA12738@calimero.vinschen.de>
X-IsSubscribed: yes
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

Corinna Vinschen schreef:

 >> 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...

I've tried several shares. Only on one of them I get an
error with install:

> //ecn/groups/g_zon_software/cygwin17/zz3.txt
> install: setting permissions for
> `//ecn/groups/g_zon_software/cygwin17/zz3.txt': Permission denied 

When I look at the properties of this share it says it uses DFS
(Distributed File System). This drive shows the access bits
as -rwxrwxrwx, the others have -rw-r--r--

with all of them I see the Permission Denied on mv.
I have to ask our administrators for more details.

> 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?

One of my shares is a hosted on a unix system with a different
account, I'm not sure whether winbind is run. On this share, I have the 
mv issue only.



--
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/

