Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 10-04-2008, 06:38 PM   #1 (permalink)
 
Monster Techie

Join Date: Sep 2005

Location: /home/jason

Posts: 1,829

Jayce will become famous soon enoughJayce will become famous soon enough

Send a message via AIM to Jayce
Default Ubuntu. Samba. Permissions.

I have a hard drive just for samba, which is mounted on /media/storage.

I have ran sudo chmod 777 -R /media/storage before.

Thing is, that sets the owner of all the files to me. When the user logs in to /media/storage and drops files off, the new files are then owned by the user in question, which we'll say for argument's sake... bill.

So, when I run sudo chmod 777 -R /media/storage, Jason becomes owner of the files. When Bill logs in and drops files off, the old files are still owned by Jason, the new files are owned by Bill.

Jason can still read/write/delete/rename anything he wants.
Bill can still read/write/delete/rename anything he wants.

Yet, the permissions vary.

Why? How can I fix this?

What I tried to do was create a group, like smbusers. Then, I added all users to smbusers... that way those users of that group can read/write/delete/rename any files they want, as long as I set that directory (/media/storage) to be owned by that group.

Thing is, I get an error every time I try to put smbusers as the owner of /media/storage. What am I doing wrong? The error simply says invalid user - smbusers. But smbusers is a group... and everybody that needs to be a member of that group is a member...
Jayce is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8 makes it even easier to try out Linux Osiris Linux Tips and Tricks 5 04-04-2008 11:22 PM
Ubuntu 7.10 has been released!!! Osiris Linux, BSD, other *nixes & Open Source Software 14 10-24-2007 07:00 PM
Ubuntu 7.10 Beta Released Osiris Linux, BSD, other *nixes & Open Source Software 9 09-30-2007 01:25 AM
Ubuntu 7.04 Available Osiris Linux, BSD, other *nixes & Open Source Software 0 04-19-2007 06:44 PM