From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/profile.d/ and non-root users
Date: Sat, 16 Sep 2006 11:13:05 +0200 [thread overview]
Message-ID: <200609161113.05485.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <c268e4660609151806x187c46j90ca80eea8ed9d81@mail.gmail.com>
On Saturday 16 September 2006 03:06, Drew wrote:
> Assuming this is supposed to be a shell script try changing the file
> so it is rwxr-xr-x (755). ex: chmod 755 /etc/profile.d/aliases.sh
>
> For a script to be executed it must have the 'x' flag set. I get
> bitten by this every so often when creating new scripts.
While you are correct for general cases, at least in this case the
execute bit does not need to be on, since the script is not run directly
but instead is sourced from inside another script.
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2006-09-16 8:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-13 12:26 [gentoo-user] /etc/profile.d/ and non-root users Pupeno
2006-09-13 12:47 ` Alan McKinnon
2006-09-13 13:34 ` Etaoin Shrdlu
2006-09-13 13:15 ` Bo Ørsted Andresen
2006-09-13 13:49 ` Etaoin Shrdlu
2006-09-13 14:20 ` Lukasz Pawelczyk
2006-09-15 23:43 ` Pupeno
2006-09-15 23:42 ` Pupeno
2006-09-16 1:06 ` Drew
2006-09-16 9:13 ` Etaoin Shrdlu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200609161113.05485.shrdlu@unlimitedmail.org \
--to=shrdlu@unlimitedmail.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox