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. -- [email protected] mailing list

