LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2004, 08:53 AM   #1
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Rep: Reputation: 15
Samba Setup


I've setup samba and am able to map a drive from my xp machine. Everything works fine except the everything is read only. 1. How can I give only one user read/write privledges - me(admin currently the only user on the Linux box). I want to use the server as a backup in case my school server does down.

Thanks

jbraum
 
Old 09-16-2004, 12:02 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
You can use "read list" and "write list" in the share definition to list who can read and who can write. Read more here <<http://us1.samba.org/samba/docs/man/...html#id2539154>>.

Be sure you have allowed permissions on the actual directory that is being shared.
 
Old 09-16-2004, 04:58 PM   #3
barnman2000
LQ Newbie
 
Registered: Sep 2004
Location: Texas
Posts: 3

Rep: Reputation: 0
Re: Samba Setup

Quote:
Originally posted by jbraum
I've setup samba and am able to map a drive from my xp machine. Everything works fine except the everything is read only. 1. How can I give only one user read/write privledges - me(admin currently the only user on the Linux box). I want to use the server as a backup in case my school server does down.

Thanks

jbraum
I had this problem too but it was remedied by changing the directory to permissions to 777. Then I was able to create directorys beneath it, delete files, etc. (From another computer on the lan).

For me this command did it:
chmod 777 /var/spool/samba

Run ls -all before the chmod command. Perms will say dr-xr-xr-x or something like that then after the command it will say drwxdrwxdrwx

Here's an example:
drwxrwxrwt 2 root root 4096 Mar 13 2003 samba

Yikes.. I wonder what the t is for..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba setup tran_colin Linux - Networking 1 10-19-2004 04:28 PM
samba setup paschim Linux - Newbie 3 10-07-2004 03:57 PM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba setup help wenberg Slackware 18 02-13-2004 01:40 PM
Samba Setup Kreak Linux - Networking 1 08-25-2003 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration