LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Setup (https://www.linuxquestions.org/questions/linux-networking-3/samba-setup-231326/)

jbraum 09-16-2004 08:53 AM

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

ranger_nemo 09-16-2004 12:02 PM

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.

barnman2000 09-16-2004 04:58 PM

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..


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