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
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
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
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
3 votes
1 answer
175 views

Why does umask use this complicated numeric system?

I am trying to learn how to use umask but it seems so complicated. Besides all the subtractions that I have to make in my head seperately for directories and files every time I see a mask value, the ...
Pithikos's user avatar
  • 1,654
2 votes
1 answer
2k views

666 permission even after making umask= 0000

I made my umask = 0000. However when I am creating a file it has 666 permission. Although directories get 777 , that's alright. Also my aim is to create file/dir with permissions 774, I guess umask ...
Ahmad's user avatar
  • 229
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
1 vote
1 answer
14k views

I get 700 when I make a test file, but umask is 0002? Why isn't it 664 ?

Where do the default values of 666 and 777, for files and directories respectively, get stored? umask 0002 touch dummy ls -l Tells me that dummy's permissions are 700 as opposed to the expected ...
user avatar
12 votes
3 answers
30k views

How does local_umask and file_open_mode work?

I had some problems with the filepermissions when local users uploaded their files via vsftp to a server. I wanted the files to have all 766 permissions. After a lot of trial and error I found out ...
OrangeTux's user avatar
  • 358