Linked Questions

9 votes
2 answers
6k views

I'm new to Linux. I have been practicing a few commands. My question is about when I'm creating different files using a different umask. For example: umask 222, as I understand it, is the same as 777 ...
Oscar's user avatar
  • 99
1 vote
1 answer
6k views

what value have I to specify for umask that the group users get read, write and execute?
user977828's user avatar
0 votes
0 answers
37 views

What value of (u)mask should I use to give the permission -rwxr-xr-- for the files? I tried 012 and 022 and didn't work, how do I subtract 666-754?
Med talib's user avatar
0 votes
0 answers
35 views

It is true that i may not have understood how umask calculations work. This query is just for a test case (my learning). My intention is that my process should generate a file pdf file1.pdf with full ...
Ashar's user avatar
  • 527
9 votes
4 answers
5k views

When I use setfacl to manage on what permissions should the children files / directories have, for some reason the files have all the permissions except the execute ("x") one. someuser@someuser-MS-...
user294034's user avatar
-6 votes
5 answers
5k views

I understand that in GNU/Linux, file permissions are also called a file's mode and that the term mask can mean at least these different meanings: The umask shell builtin (the usual meaning). The umask ...
user avatar
2 votes
1 answer
7k views

I've made a Makefile to simplify my life, and this Makefile calls a script in a bin file I've created. After running my command make something, I got following error : /bin/sh: 1: .docker/bin/echo-...
Chloé's user avatar
  • 133
1 vote
2 answers
5k views

I don't seem to be able to use umask to make sure my default file permission is 755. I need it because every time I check out a script file on CentOS from my version control, it doesn't have the x ...
amphibient's user avatar
  • 12.8k
2 votes
1 answer
4k views

When a user creates a folder over SFTP it gets permissions of drwxr-xr-x I need it to have drwxrw-r-- I know i can change the permissions with chmod but it would save me lots of time and effort if ...
a.smith's user avatar
  • 745
2 votes
1 answer
5k views

I have a directory in which I am storing all my shell scripts and I would like new files to be made executable by default so that I don't have to go chmod u+x [file] everytime. Is there a way to make ...
First User's user avatar
0 votes
2 answers
326 views

umask shows the weird results when applying value: 0666 When apply any value for umask that works as aspected, but when apply 0666 then directory got correct permission value but file got weird value. ...
JavaScriptForEveryThing's user avatar
-1 votes
2 answers
512 views

If I want a directory and file to have the permissions: -rw-r---w- -file drwxr-x-w- - directory why doesn't my umask value of 024 work?
deus_170's user avatar
0 votes
0 answers
309 views

I feel like I really ought to be able to figure this out, and it's a bit embarrassing to admit that I can't, but... I have a Mint 21 server running Plex Media Server, and my media drive is a 12TB ...
Linx's user avatar
  • 1
2 votes
1 answer
96 views

Today I took LPIC 101-500 exam and I passed but one question keeps bothering me. The question was: Given the following permissions -rw-r----- what umask should be applied to make all files have the ...
jedi's user avatar
  • 467