in reply to Re^4: Bash Shell & Perl Library Path
in thread Bash Shell & Perl Library Path
> But that won't help if the /home/myname directory is not crossable for other users.
But it will. Permissions on user directories make no difference in this case - /etc/bash.bashrc is the system-wide initialization file for Bash; the only times it isn't read is if the shell is a login shell or the '--norc' or '--rcfile other_init_file' options are specified.
I do agree that this may be a case of the XY problem, though. It sounds like using a 10-ton hydraulic press to smash a fly - since modifying system-wide init files should be reserved for absolute emergencies and treated with utmost care.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Bash Shell & Perl Library Path
by afoken (Chancellor) on Jun 28, 2009 at 18:36 UTC |