Skip to main content

All Questions

Tagged with
2 votes
1 answer
470 views

Change default umask for KDE

I am attempting to change the default permissions assigned to a file by KDE. I would like to change the umask to 0027 so that the files are created with 750 for the permissions by default instead of ...
Mr.Clean's user avatar
1 vote
0 answers
251 views

Linux Kernel 5.15.1, fstab umask=0022, mount command shows fmask=37777600022,dmask=37777600022

I downloaded and compiled the linux-cacule (5.15 for native ntfs3 support) kernel from the AUR repo. Following the documentation here on the new ntfs3 mount option: https://www.kernel.org/doc/html/...
shayaknyc's user avatar
0 votes
1 answer
596 views

umask=0 leads to mount error 32

Like the title say I have some ext4 that mounts well without umask but are innacessible because of permissions, but leads to error wrong fs type when mounted with umask=0 I'm on a live USB. So fstab ...
user1148733's user avatar
0 votes
1 answer
747 views

How do you use Umask in Linux for creating default special permissions like setuid, setgid, and sticky bits?

How do you use Umask in Linux for special permissions like setuid, setgid, and sticky bits?
vikram singh's user avatar
1 vote
1 answer
2k views

set default file permission to read, write and execute in linux

I need to set default file creation permissions for everyone to 777 [rwx], however umask uses 666 for files: If I need permissions to be 444, I would issue umask 222 [666 - 222 = 444], but the ...
vikram singh's user avatar
2 votes
0 answers
188 views

ssh-keygen creates private key with incorrect permissions

When using ssh-keygen without any arguments to generate my ssh keys, it generates both the public and private keys with 644 permissions, making the private key too open to be used. I am running Ubuntu ...
zogden's user avatar
  • 21
1 vote
2 answers
1k views

umask is 0002 but new file is 662, not 664

I am studying for my RHCSA. Currently learning about UMASK. The issue is that my umask is set to 0002, and I am logged in as a normal user, not root. When I create a dir, its correct, the dir gets ...
John Conner's user avatar
0 votes
0 answers
327 views

if my umask is 0002 then why does `mkdir dirname` create directories with drwxrwxr-x permission?

If my umask is 0002 then why does mkdir dirname create a directory with drwxrwxr-x permission? I should think that it would create it with d-------w- permission.
neubert's user avatar
  • 7,232
2 votes
0 answers
353 views

Files/folders created by application have wrong permissions

I've got strange issue. Newly created folders from Nuke (compositing software) on our network storage with my user are being created with 755 permissions. However, If I open up an console, browse the ...
excessive's user avatar
2 votes
0 answers
311 views

Why do modern systems set umasks to 0022 instead of 0002?

I never really got into this topic a lot, but from the good old days, I remember you'd want your umask to 0002 (so new files created are only writable by you, not by the group). Similar for ...
Zlatko's user avatar
  • 276
1 vote
0 answers
316 views

umask blocks either Plex or Nextcloud access to external fat32 HDD

Trying to make my superPi (with Plex, Nextcloud, VPN), I have a permissions problem on my external HDD: I have attached an external HDD to my Raspberry Pi, that holds all my media (photos, homevideos,...
Koen's user avatar
  • 111
2 votes
2 answers
1k views

VirtualBox Guest Shared Folder Ignoring umask

I have a folder on my host system (Arch Linux) which is being shared with an Ubuntu VirtualBox guest. Instead of using automount, I am mounting the folder at boot using the following line in my guest'...
Legendary_Linux's user avatar
2 votes
1 answer
5k views

Show umask of user I can't login to

I know I can show the umask of the current user by simly executing umask on the command line. Is there any way how I can figure out the umask of a user I don't have the permissions to login to? (Also ...
fgysin's user avatar
  • 2,988
2 votes
1 answer
3k views

Where does Debian take the default umask from?

With a fresh ssh login: $ umask 0007 But: $ find . -maxdepth 1 -name '.*' -type f | xargs grep 007 | less $ # grep 007 /etc/profile # # grep -i umask /etc/login.defs # UMASK ...
divB's user avatar
  • 589
8 votes
1 answer
27k views

How to set umask globally?

I am using a private user group setup, i.e. a user foo's home directory is owned by foo:foo, not foo:users. For this to work, I need to set the umask to 002 globally. After a quick grep -RIi umask /...
DevSolar's user avatar
  • 4,500

15 30 50 per page