I wish to have something in my .bashrc that will mask the file permissions as 022 (resulting in new files having permission rwxr--r--) and the directory permissions as 066 (resulting in new directories having permission rwx--x--x).
Is this possible?
|
feedback
|
|
You can't do that. Having a directory with just x allows others (with suitable permissions) to run programs within the directory but not list the contents of it. What are you trying to achieve ? | |||
feedback
|
|
Try this, it works for me: http://forums.gentoo.org/viewtopic-p-6650651.html | |||
|
feedback
|