Help - Search - Members - Calendar
Full Version: Directory permissions for group
MandrivaUsers.org > Advanced Topics > Command Line, Kernel and Programming
javaguy
I have a question about directory permissions. I thought I understood this.

I have a user and group both called photo. It has a directory called /home/photo/Pictures, on which the photo group has rwx permission. I added my own login to the photo group, and then logged in as me I attempted to ls that directory, but it says permission denied. What do I have to do to see something owned by a group I'm in?
neddie
Does the user photo also belong to the group photo? If not, it won't be the photo group which has rwx on that directory...
theYinYeti
You understand correctly, javaguy. Just one thing is missing, I think: You have the right to see the contents of this directory, but do you have the right to access it?
To access directory /home/photo/Pictures, you must have the execute permission on directories /home (which I guess you have) and /home/photo (which I guess you don't).

However, granting this execute right won't last long, I think, because msec is probably configured to reset that. So you'll have to decide wether you want to:
- change msec configuration, or
- move Pictures somewhere else and maybe change /home/photo/Pictures into a symbolic link to the new location.

Yves.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.