View previous topic :: View next topic |
Author |
Message |
ggelln Tux's lil' helper
Joined: 24 Jan 2003 Posts: 98 Location: Montreal Quebec
|
Posted: Sun Feb 23, 2003 5:03 pm Post subject: group filesystem access? |
|
|
I am having a problem setting the file permissions correctly for given users to share files in their home directory with other users.
I would like to set up a folder music in a given home directory that is accessable to all other users of the mp3 group.
I have added the group, added the users so that the
groups command shows that they are members. I have then changed the directory music such that
ls -ld gives:
Code: | drwxrwx--- 16 ggelln mp3 504 Feb 22 15:23 music |
But when I log in as another user of the mp3 group I can not cd to this directory?
(furthermore for troubleshooting I made I set
chmod 777 music, but this also didn't work . . .)
One problem I think might cause this is that the home directory is set as a personal group, that is
ls -ld /home/ggelln gives:
Code: | drwx------ 74 ggelln ggelln 3752 Feb 23 11:59 /home/ggelln/ |
But I don't really want to change this, as I don't believe it should matter . . .
From all the tutorials I have read this doesn't make sense . . . Any help would be welcome.
Gabriel |
|
Back to top |
|
|
David_Escott l33t
Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Feb 23, 2003 5:13 pm Post subject: |
|
|
If i am reading this correctly you have
rwxrwx--- /home/ggelln/music ggelln mp3
and
rwx------ /home/ggelln ggelln ggeln
in which case you have made it impossible for other uses to even enter the /home/ggelln directory (they need executable permissions to do this)
so as ggelln you should do the following
This way other users will be able to enter the ggelln directory but will not be able to see anything there. Then from there they can move into the music subdirectory |
|
Back to top |
|
|
ggelln Tux's lil' helper
Joined: 24 Jan 2003 Posts: 98 Location: Montreal Quebec
|
Posted: Sun Feb 23, 2003 5:34 pm Post subject: Thanks! |
|
|
Thanks that fixed it, didn't realize quite what the execute bit does with directories (thought it was the same as r in a way . . .)
this really cleared it up
Gabriel |
|
Back to top |
|
|
|