Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 09-24-2008, 12:42 AM   #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 Samba Related Question.

My computer, Ubuntu 8.04, is running as a Samba File Sharing Server as a means of backing up everybody else's documents in the household which comes to about 5 other computers.

In media, I have my network drive mounted to "share"
"share" has user's folders inside, known as curt, tyler, jason, etc.

On curt's computer, when accessing his mapped share to my samba computer, he is unable to delete anything. It says it's write protected.

Okay, fine. So I come back here, sudo chmod 777 share.

Go back to curt's computer. Ahh, nope. Fail. Write protected.

No matter what I do, I can't seem to grant curt the ability to delete files in his share. I want him to do WHATEVER he wants to this share so he can stay organized with it.

Why am I getting this error? I granted 777 rights to the share folder, and I even tried granting 777 rights to his folder WITHIN share... neither worked..

djfkalsjda
Jayce is offline  
Old 09-24-2008, 01:12 AM   #2 (permalink)
Greg's Avatar
 
Indeed.

Join Date: Dec 2004

Posts: 1,554

Greg is on a distinguished road

Default Re: Samba Related Question.

Make sure you don't have it set as read only in your Samba config as well
__________________
Greg is offline  
Old 09-24-2008, 08:54 AM   #3 (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 Re: Samba Related Question.

It's not read-only. However I realized something.

My share folder = network storage. Within share, there's the users designated folders.

curt
jason
tyler
pam

jason is owned by jason (that's me) so mine works fine.
curt, tyler, and pam are owned by root.

This, I assume, is the problem. But I'm confused over how this works. If I grant 777 rights to the entire share folder, wouldn't that give any authenticated user who can access the folder full blown right to add/remove/delete/create anything they want? Why would it kick the other users to being owned by root?
Jayce is offline  
Old 09-24-2008, 07:28 PM   #4 (permalink)
farinha's Avatar
 
Super Techie

Join Date: Aug 2007

Location: Portugal

Posts: 323

farinha is on a distinguished road

Default Re: Samba Related Question.

have you used the " -R, --recursive" option? According to help:
-R, --recursive change files and directories recursively
farinha is offline  
Old 09-24-2008, 08:13 PM   #5 (permalink)
 
Junior Techie

Join Date: Aug 2008

Posts: 42

brad8266 is on a distinguished road

Default Re: Samba Related Question.

You should make sure the windows users are users on the linux server and then use chown to change ownership of each user directory to reflect the correct user. Then set file permissions as required owner/group/others. In the samba config file the shares need to be labeled writeable = yes
brad8266 is offline  
Old 09-24-2008, 11:29 PM   #6 (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 Re: Samba Related Question.

They are labeled writable = yes.

When I make curt owner of his designated share folder, it comes back with this.

samba1.png - Image - Photobucket - Video and Image Hosting

Notice how root is in the mix, too?

But when I make jason (myself) owner of my designated share, I get this.

samba2.png - Image - Photobucket - Video and Image Hosting

It's clear that there's a difference between my account and his. I wonder if he needs admin rights or something?

I'm half tempted to wipe out samba and restart it. Something aint right, but yet I've set this up before without any issue. I must have done something wrong.
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
Home server question. Ubuntu Hardy. XP Pro. Jayce Linux, BSD, other *nixes & Open Source Software 9 08-06-2008 11:09 PM
Harddrive Related Question BC-Reefer Other Computer HW Topics 3 02-22-2008 10:21 PM
Overclock related question...stupid HP! Aesrin Building, Buying, or Upgrading High Performance PC Systems 4 09-27-2007 05:53 PM
Power Supply Question + Overclocking Question Grievearz Building, Buying, or Upgrading High Performance PC Systems 21 09-12-2007 12:59 AM
question related to RAM and CPU OCing. krazieaznboi Overclocking, Case Mod, Tweaking PC Performance 7 04-11-2007 02:56 AM