X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Date: Tue, 1 Nov 2011 13:05:24 +0100 From: David Sastre To: cygwin AT cygwin DOT com Subject: Re: Help with ACL and POSIX permissions for external flash/HD. Message-ID: <20111101120524.GA19507@jethro.local.lan> References: <20111031210052 DOT GB6889 AT jethro DOT local DOT lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 01, 2011 at 01:38:41PM +0200, Oleksandr Gavenko wrote: > 31.10.2011 23:00, David Sastre =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >YMMV, but 'bash -l' should source your profile settings, both > >system-wide and user defined. >=20 > Do you mean "bash -i"? =46rom the manpage: -i If the -i option is present, the shell is interactive. -l Make bash act as if it had been invoked as a login shell. And: When bash is invoked as an interactive login shell, or as a=20 non-interactive shell with the --login option, it first reads and=20 executes commands from the file /etc/profile, if that file exists.=20=20 After reading that file, it looks for ~/.bash_profile, ~/.bash_login,=20 and ~/.profile, in that order, and reads and executes commands from=20=20 the first one that exists and is readable.=20=20 The --noprofile option may be used when the shell is started to inhibit=20 this behavior. When an interactive shell that is not a login shell is started, bash=20 reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if=20 these files exist. This may be inhibited by using the --norc option.=20=20 The --rcfile file option will force bash to read and execute commands=20 from file instead of /etc/bash.bashrc and ~/.bashrc. HTH. --=20 Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EAREIAAYFAk6v4IQACgkQ95urBFKZ7FbLkgD6ArUdBBajrGiMmtseGbDaRoAX RFoMhqD5FZnhczjHo9oA/RMGTL+WgAHdpFsMOPN774YC8DjqiRO0qzrbKJhquVd0 =S4mK -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--