But that won't help if the /home/myname directory is not crossable for other users. It depends on the Linux distribution. Some set mode 0755 (rwxr-xr-x) for user directories, others 0751 (rwxr-x--x), 0750 (rwxr-x---), or even 0700 (rwx------). Some distributions stuff all users into a group named users, others create a new group for each new user. I don't know what Ubuntu does. If all users are in the same group, the directory must be group crossable (chmod g+x), if users are in different groups, it must be world crossable (chmod o+x). The perl_modules subdirectory needs at least these permmissions, and perhaps also read permissions are required. (chmod g+r or chmod o+r).
Anyway, this looks like a stupid idea to me. Global resources don't belong into user directories. Do we have an XY Problem here?
Alexander
In reply to Re^4: Bash Shell & Perl Library Path
by afoken
in thread Bash Shell & Perl Library Path
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |