X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Richard Ivarson <RiIvarson@gmail.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@phx.gbl>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
In-Reply-To: <BAY109-DAV5E40608D19FE2E2F03C77CF130@phx.gbl>
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

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/

