delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/18/10:20:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Richard Ivarson <RiIvarson AT gmail DOT com>
Subject: Re: 1.7 - noacl for cygdrive
Date: Tue, 18 Nov 2008 16:18:01 +0100
Lines: 43
Message-ID: <gfumbo$kgu$1@ger.gmane.org>
References: <BAY109-DAV5E40608D19FE2E2F03C77CF130 AT phx DOT gbl>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
In-Reply-To: <BAY109-DAV5E40608D19FE2E2F03C77CF130@phx.gbl>
X-IsSubscribed: yes
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

Rob Bosch schrieb:
[..]
> I set up the destinations in the mount table.  I still have messed up
> permissions.  The issues may be still lingering from before as I'm still
> working on resetting permissions on 10TB of data...what fun.
> 
> Once the permissions are reset and I mount with the user,noacl,posix=0
> things seem to work ok.
> 
> I would love to have a global option for noacl rather than forcing
> everything to be set in fstab...or better yet, be able to override the
> global /cygdrive.  For now, fstab it is.
> 
> Also, on rsync, make sure you aren't using the -p option to preserve
> permissions.  

Rob, many thanks for your reply.
So it's not just me having massive problems with the NT permissions which are
being messed up by Cygwin tools like rsync. Actually most Cygwin users should
see these problems, I guess, because Windows 2000 and XP use NTFS.
I can't use rsync anymore, because the permissions of the destination are all 
wrong after rsync resets them... Oh what a pity!

The "-perms" (-p) option I don't use.

The fstab doesn't seem to work for me. You mentioned that you mount. How 
could I verify that my Cygwin does mount, too? Do you have to use a special
command in order to mount in Cygwin?
I just run a small bash script which uses rsync with the /cygdrive/c/ etc
drive syntax. Is this mounting?

Could you please post an example of how your fstab looks like? Thanks.
My Cygwin/etc/fstab looks like this:
     none /cygdrive cygdrive user,noacl,posix=0 0 0

But rsync still resets all my NT permissions.

-Richard



P.S. In case this all works for Cygwin 1.7+ only, it won't work for me 
because a 'uname -r' reports "1.5.25(0.156/4/2)" so I guess I use Cygwin v1.5 ...


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