in reply to perl file permissions
In *nix land, your file permissions are based on your umask.
Having said that, you cannot set a umask in a way that will toggle the x flag. I like the .bashrc solution since you mentioned that you are using bash as your shell.
Note: It's not a failing of umask to not let you default to +x on a file. That's a GoodThing(tm). Having +x by default is a BadThing(tm). But if you just want a shortcut to editing perl and adding the +x, then the alias is your best bet.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl file permissions
by cdarke (Prior) on Dec 05, 2007 at 17:13 UTC | |
by KurtSchwind (Chaplain) on Dec 05, 2007 at 17:44 UTC | |
by halley (Prior) on Dec 05, 2007 at 20:31 UTC |