Results 1 to 4 of 4
Hello there!
At first i must say, that at google didn't founded anything useful, or i'm searching with wrong keywords.
Basicly i need that user can read / write / ...
- 04-23-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 5
[SOLVED] Allow user read, write & exec only in home dir
Hello there!
At first i must say, that at google didn't founded anything useful, or i'm searching with wrong keywords.
Basicly i need that user can read / write / exec only in his home directory. He is allowed to read other directorys / files, but nothing more - just read.
How can i do that?
- 04-23-2008 #2
How different is this than the default? Users are given those permissions for their home directories.
The only difference I see is that users are able to execute things outside their home directories but they need this to execute programs.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 04-23-2008 #3
By default users are only allowed to write to their /home/ directory. As far as executing goes... you might change their PATH to only include /home/username instead of /bin/ and /usr/bin/. However that would make the system functionally useless since they couldn't even list directories with "ls" unless they had exec privileges against /bin/.
I guess I'm confused as to what you're trying ultimately do here. Can you give us a more broad picture of what's happening?Registered Linux user #270181
TechieMoe's Tech Rants
- 04-23-2008 #4Just Joined!
- Join Date
- Apr 2008
- Posts
- 5
Oh, thank you. I'm stupid - thought all the time, that they can write outside their home dir too.


