Linked Questions
30 questions linked to/from What is "umask" and how does it work?
1
vote
1
answer
1k
views
My ubuntu default permissions suddenly changed from 644 to 664?
My ubuntu default permissions suddenly changed from 644 to 664?
Usually, I am familiar with the permissions 644 and 755 for files and directories respectively.
But now when I create a new dir or a new ...
0
votes
0
answers
64
views
umask (octal form) and umask -S (symbolic form) outputs are different. why? [duplicate]
Related to file and directory permissions and umask: Why the command umask (shows the octal form) and umask -S (shows the symbolic form) show different (actually the option -S shows the bits negations ...
0
votes
2
answers
401
views
What are the consequences after accidentally executing umask 077 in folder /etc/apt
I accidentally executed umask 077 while in the folder /etc/apt. What are the consequences of this? Could I have broken something? How can I undo it?
1
vote
2
answers
33k
views
How do I use chmod to make .sh files executable? [duplicate]
My touch overlay is failing to respond in portrait but in landscape I got to a page where I am able to rotate touch input so that it can work in portrait (using this advice on Ubuntu Forums), so I ...
11
votes
0
answers
563
views
What is the difference between "chmod +x" and "chmod a+x"? [duplicate]
What is the difference between chmod +x and chmod a+x?
I know both of these commands make a file executable but what is the difference between these two commands?
12
votes
5
answers
141k
views
Modify permissions to -rwxr-xr-x [duplicate]
I need some help with a homework problem to modify a file's permissions. It wants it to be -rwxr-xr-x? Not sure how to make the user permissions. Thank you.
5
votes
6
answers
19k
views
NTFS Partition is mounted as read only
It's my first time installing Ubuntu. I deleted Windows and installed Ubuntu 17.04 but there is a problem NTFS Partitions are mounted as read only. What do I need to do?
2
votes
1
answer
3k
views
Why is UMASK set in /etc/login.defs ignored?
I have set UMASK 077 in /etc/login.defs and there is no override in ~/.profile or ~/.bashrc.
The umask command still prints 0022 in gnome-terminal, but prints 0007 when I log into tty1. Newly created ...
2
votes
1
answer
813
views
Creating files when "sudoed" messes up permissions and users
I have some trouble installing some packages I compiled from source. Everything seems to work fine, until I try to actually use the files installed in a global place.
It turns out the permisions and ...
18
votes
5
answers
10k
views
How to make /sbin/shutdown, /sbin/reboot etc. require sudo again in 16.04?
For whatever reason, we do no longer need to be root (or using sudo) to run /sbin/shutdown, /sbin/reboot etc.
This seems to be because those executables are now symlinks to /bin/systemctl which ...
6
votes
3
answers
17k
views
File permission management
I would like to be able to move files downloaded by transmission in the name of my primary user.
I added this user to the group debian-transmission, but it is not enough, only the owner has the ...
0
votes
1
answer
196
views
Ubuntu users - access to file of different user
I am just messed up with users of Ubuntu.
I just have two users of my system:
father and son
Now I want to have access to all of my son files.
But not by using sudo.
It must be automaticaly.
Now i ...
8
votes
2
answers
18k
views
/opt folder missing in Ubuntu 14.04
I'm trying to install Eclipse "by the book" in /opt, but when trying to access /opt, it seems that /opt directory doesn't exist in Ubuntu 14.04:
$ cd /opt/
bash: cd: /opt/: No such file or directory
$...
0
votes
1
answer
520
views
Is it possible to get any folder created within a directory is being created with 777 permission? [duplicate]
I have one requirement in which when I create a directory I want to create it with 777 permission. I did all stuff but not able to do this, anybody knows how to do this? Then please share.
Suppose I ...
1
vote
2
answers
3k
views
Is there any difference between umask value and chmod value? [duplicate]
I'm using umask in fstab settings. What I know is if i set 755 with chmod, the permission will be rwxr-xr-x. But, when I use umask in fstab with 755 value, permission that i get is ----w--w-. Giving ...