Linked Questions

9
votes
1answer
26k views

What does “execute” permission mean on a folder? [duplicate]

I have read this topic, which gave me some info but I feel I am not fully getting it. What does the execute permission actually mean on a folder? I fully understand what it means on a file, but on a ...
3
votes
3answers
20k views

Understanding permissions properly for cp [duplicate]

I am trying to understand the permission usage for the cp command in unix. What are the permissions required for copying a file into a directory What are the permissions required for copying out of a ...
5
votes
1answer
2k views

“ls” is giving a “Permission denied” error even though it worked? [duplicate]

I have a directory that have the r permission bit: dr-------- 3 robert robert 4096 2017-12-17 03:47 dir This directory have two files and one directory: file 1.txt file 2.txt subdir When I run ...
2
votes
2answers
5k views

Cannot access a directory with permissions drw-rw-r— [duplicate]

I am having a very strange permission issue when trying to access any of the files in a certain directory as a specific user (adventho). This has been working fine for several months and I just ...
2
votes
1answer
2k views

To cd into a directory [duplicate]

What permissions are needed? I mean the minimum permission needed to actually cd into a directory. It's just a general question I have. If someone has executable permissions is that enough to be ...
1
vote
1answer
3k views

Linux based SMB share: can access only using owner account from Windows [duplicate]

In Windows when I connect using test_reader account I can access with no problems. However when I use peter account it gives me Access Denied. I did some testing and if I change share folder ...
1
vote
1answer
1k views

cd and ls permissions denied [duplicate]

I was going through my old code and I stumbled upon some strange behaviour. Folder and files inside it are chowned to me, however I am not allowed to enter it, or even list its content. Unless ...
0
votes
2answers
1k views

Unable to view or change file permissions [duplicate]

I tried to view file permissions $ ll yaan/ ls: cannot access yaan/.: Permission denied ls: cannot access yaan/Nenje Nenje - TamilTunes.com.mp3: Permission denied ls: cannot access yaan/..: ...
2
votes
2answers
355 views

Confused about the “execute” bit of a directory [duplicate]

I have read that if the "execute" bit is not set on a directory, then you can't set that directory as your process's working directory. But I don't understand why is that, I mean when you set the ...
2
votes
1answer
1k views

Why can't a group member create a file in a directory with 760 permissions? [duplicate]

I have an account with secondary group membership in a group that owns a directory. The directory is chmod 760, which should allow writing to the directory, but not listing it. However, this is not ...
0
votes
1answer
894 views

Why don't I have permission to ls directories I own and have r/w permissions for? [duplicate]

It seems I need to use sudo to ls directories that I own and have r/w permissions on. If I try to ls my media drive, I can see it, but not its sub-directory, even though I think owning that sub-...
0
votes
1answer
739 views

Hide directory listing? chmod 730 /home/share? [duplicate]

So I want to hide the listing of all files to a particular group, yet I want them to be able to create/read files in that same folder. The following permissions on the folder appears to work (write ...
0
votes
1answer
112 views

Why does cd need execution permission of a directory? [duplicate]

From https://unix.stackexchange.com/a/350629/674 For directories, the execute permission is a little different; it means you can do things to files within that directory (e. g. read or execute them)...
0
votes
1answer
116 views

Shared sub-directory between multiple users [duplicate]

I have two users with home directories: /home/user1/ /home/user2/ I would like to share a folder between the two users: /home/user1/some/path/to/folder but would only like user2 to have access to /...
0
votes
1answer
36 views

Can chmod on a directory without --recursive change who can read a file within that directory? [duplicate]

Based on the suggested duplicate, let me reformulate my question: If chmod 0660 path/to/folder is run, and user A isn't in the relevant group, could user A still read /path/to/folder/file.txt if that ...

15 30 50 per page