X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.5 required=5.0	tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Tue, 1 Nov 2011 21:20:08 +0300
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <645829687.20111101212008@mtu-net.ru>
To: Oleksandr Gavenko <gavenkoa@gmail.com>, cygwin@cygwin.com
Subject: Re: Help with ACL and POSIX permissions for external flash/HD.
In-Reply-To: <j8n123$9lq$1@dough.gmane.org>
References: <j8kfav$csp$1@dough.gmane.org> <j8n123$9lq$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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

Greetings, Oleksandr Gavenko!

>>
>> Is it right to update /etc/fstab to:
>>
>> h: /cygdrive/h ntfs binary,noacl,user 0 0
>>
>> How can I set umask? In .bashrc?

Why not uncomment the last line in original /etc/fstab and add ",noacl" there?

>>  What if I run
>> Cygwin program from cmd?

Faster to try than to wait for answer :)
I'm using most of cygwin commands directly.
Most of environment variables that these programs would look for are defined
already, I'm no fan of hiding my personal settings into some obscure (for
system) files, or to have myself headache of remembering, where else i need to
adjust this or that setting to make all programs work transparently from bash
shell as well as when executed directly.

P.S.
My /etc/fstab :

# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table

# This is default anyway:
# none /cygdrive cygdrive binary,posix=0,user 0 0
none    /   cygdrive    binary,posix=0,user,noacl   0   0
C:/home /home   bind    binary,posix=0,user,noacl   0   0

Where "C:/home" is a junction to "C:\Documents and Settings" (I'm using it on
WinXP)


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 01.11.2011, <21:13>

Sorry for my terrible english...


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

