LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-12-2005, 04:51 AM   #1
adrenaline_NZ
Member
 
Registered: Jun 2004
Location: Wellington, New Zealand
Distribution: Suse 9.3
Posts: 36

Rep: Reputation: 15
Question 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.
 
Old 12-13-2005, 11:52 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
What are the permissions of /files itself?
 
Old 12-13-2005, 12:17 PM   #3
adrenaline_NZ
Member
 
Registered: Jun 2004
Location: Wellington, New Zealand
Distribution: Suse 9.3
Posts: 36

Original Poster
Rep: Reputation: 15
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File and directory permissions or groups kuplo Linux - Newbie 1 11-11-2005 03:06 AM
groups and permissions g_trueblood Slackware 2 10-07-2005 04:36 AM
File Permissions, X and Groups mikemrh9 Linux - Software 3 09-08-2005 09:10 PM
multiple groups permissions steve007 Linux - Newbie 2 07-01-2005 12:24 PM
user groups and permissions yank_ Linux - Newbie 1 02-26-2001 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration