delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/01/14:35:53

X-Recipient: archive-cygwin AT delorie DOT 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 AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <645829687.20111101212008@mtu-net.ru>
To: Oleksandr Gavenko <gavenkoa AT gmail DOT com>, cygwin AT cygwin DOT 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 AT dough DOT gmane DOT org> <j8n123$9lq$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
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

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 AT freemail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019