qemush : ajout d'un umask
This commit is contained in:
parent
8f9e62dc20
commit
b7e89027d8
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ PATH="./${bin}:${PATH}"
|
||||||
EDITOR="${EDITOR:-nvim}"
|
EDITOR="${EDITOR:-nvim}"
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
|
umask 027
|
||||||
|
|
||||||
perror() {
|
perror() {
|
||||||
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
|
>&2 printf '\033[1;31mERROR:\033[0m \033[1m%s\033[0m\n' "$*"
|
||||||
|
@ -95,7 +96,7 @@ public_diskls() {
|
||||||
public_edit() {
|
public_edit() {
|
||||||
local file="${bin}/${1}"
|
local file="${bin}/${1}"
|
||||||
"$EDITOR" "$file"
|
"$EDITOR" "$file"
|
||||||
exec chmod 740 "$file"
|
exec chmod u+x "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
public_rm() {
|
public_rm() {
|
||||||
|
|
Loading…
Reference in a new issue