LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   File permissions for groups in Suse 9.3 (https://www.linuxquestions.org/questions/suse-opensuse-60/file-permissions-for-groups-in-suse-9-3-a-391839/)

adrenaline_NZ 12-12-2005 04:51 AM

File permissions for groups in Suse 9.3
 
Hi all,

I seem to have got myself confused maybe :)

I have a file, called /files with all my music etc in there that I would like to share over my lan via Samba, firstly I would like the users of my Linux PC to be able to read write delete and execute the files and folders under /files.

I created a group in yast called files and added the users that I would like to be able r/w/x/del the files/folders. I then issued:
Code:

blackbox:~ # chgrp -R files /files
no errors, I was happy :) I then tested by using a normal user but this failed to access the /files folder.

I'm a bit stuck really now, here's the details of the permissions for the folder /files:
Code:

blackbox:~ # ls -l /files/
total 22
drwxrwx---  15 root files  488 Jan 28  2003 .
drwxr-xr-x  23 root root  552 Jan 27  2003 ..
drwxrwx---    4 root files  96 Oct  8 08:40 .Trash-0
drwxrwx---    4 root files  96 Oct 27 20:59 .Trash-1000
drwxrwx---  36 root files 1144 Jan 12  2003 Applications
drwxrwx---    4 root files  96 Jan 27  2003 Backup
drwxrwx---  43 root files 1504 Jan 16  2003 Games
drwxrwx---    3 root files  72 Oct 15 19:20 Home Video
drwxrwx---    7 root files  248 Dec 12 10:56 Linux
drwxrwx---  188 root files 6456 Jan 18  2003 Music
drwxrwx---    7 root files  184 Jan 20  2003 Photos
drwxrwx---    6 root files  200 Oct 22 18:05 Video

I previously had it all as r/w/x etc by everyone just so I could get it up and running.

Did I miss something, maybe as it's WAY past my bedtime and the wife is getting angry ;)

Any help appreciated.

abisko00 12-13-2005 11:52 AM

What are the permissions of /files itself?

adrenaline_NZ 12-13-2005 12:17 PM

I didn't get a chance to post back yesterday, but I've got it working, I shutdown the PC after posting here and went back to check just now and everything works, I didn't think that the user would have needed to be logged off and then back on for the file permissions to work.

Or is there a service that needs to be restarted instead?


All times are GMT -5. The time now is 10:59 AM.