umask difference between gnome and terminal
Hello,
maybe a real beginners question :rolleyes: but I just started experimenting with umask. I changed the umask of a user to 0022 in the terminal. but I experience the following: when i make a file in the terminal and in the file-browser with the same user, i get permissions 600 in the filebrowser and 644 in the terminal. How is this difference possible? (i use gnome and FC4). Maybe important: if I change umask in the terminal, this does not seem to change the creation mask of the files created in the file-browser.. Hope someone can help me out, thanks! |
setting umask manually only affects your shell session where you set it (eg. terminal). To make it permanent PER LOGIN, you need to put it in your .profile
|
Thank you,
in FC4 I did not find this .profile , but with /etc/profile I found /etc/bashrc and there one can set umask for any user as one likes. but........ this umask setting works excellent in the terminal, but gnome desktop still has another umask as it creates very different permissions on new files... how can I set for a user other default umask settings for files created in the gnome desktop?? |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 11:47 PM. |