X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 	tests=BAYES_00,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100411151047.GT28908@calimero.vinschen.de>
References: <s2ya9a39a211004110806r3d50976cqe00d7e42555fa1f0@mail.gmail.com>  	<20100411151047.GT28908@calimero.vinschen.de>
From: =?UTF-8?B?RnLDqWTDqXJpYyBCcm9u?= <frederic.bron@m4x.org>
Date: Sun, 11 Apr 2010 18:30:51 +0200
Received: by 10.204.18.78 with SMTP id v14mr3163487bka.2.1271003471305; Sun,  	11 Apr 2010 09:31:11 -0700 (PDT)
Message-ID: <m2ha9a39a211004110930od261f3fbld5739744266e21d9@mail.gmail.com>
Subject: Re: How to set full control to Everyone on USB hard drive files and  	directories?
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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

> In Cygwin, create a mount entry for the drive and add the "noacl" flag.
> Then set the permissions on the root dir of the drive to full control
> for Everyone and make sure permissions are propagted to child objects.

Can I do that only for USB drives whatever the windows letter refering
to it (which changes from time to time...)?
It seems, from http://cygwin.com/cygwin-ug-net/using.html#mount-table,
that I must set a windows path as first parameter.
Can I still use /cygdrive or do I need to create another mount point?
Can I still have a difference between read, write, execute flags or
will everything appear as 777?

I have tried that in /etc/fstab:
f:/ /mnt/f cygdrive noacl,nouser,binary,notexec
g:/ /mnt/g cygdrive noacl,nouser,binary,notexec
h:/ /mnt/h cygdrive noacl,nouser,binary,notexec
i:/ /mnt/i cygdrive noacl,nouser,binary,notexec

But when mount does not do anything in /mnt. (I have created the
corresponding directories before).

Fr=C3=A9d=C3=A9ric

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

