LinHES Forums http://forums.linhes.org/ |
|
How do I share the source tree with samba (writable)? http://forums.linhes.org/viewtopic.php?f=5&t=3801 |
Page 1 of 1 |
Author: | mccoyn [ Sat Mar 05, 2005 1:18 pm ] |
Post subject: | How do I share the source tree with samba (writable)? |
I installed the CVS version of mythtv as described in the wiki. I can now read the files from my WinXP computer since that directory is shared by default with samba. My problem is I can't figure out how to setup the permissions so I can write to subfolders of the shared folder. How do I fix this? Code: /etc/samba # more smb.conf ; ; /etc/samba/smb.conf ; ; Sample configuration file for the Samba suite for Debian GNU/Linux ; ; Please see the manual page for smb.conf for detailed description of ; every parameter. ; [global] load printers = yes guest account = nobody name resolve order = lmhosts host wins bcast passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 preserve case = yes obey pam restrictions = yes encrypt passwords = true passdb backend = smbpasswd guest passwd program = /usr/bin/passwd %u dns proxy = no printing = bsd server string = KnoppMyth R4V2 invalid users = root unix password sync = false workgroup = KnoppMyth syslog only = no os level = 20 printcap name = /etc/printcap syslog = 0; security = user panic action = /usr/share/samba/panic-action %d short preserve case = yes max log size = 1000 [homes] comment = Home Directories browseable = no os level = 20 printcap name = /etc/printcap syslog = 0; security = user panic action = /usr/share/samba/panic-action %d short preserve case = yes max log size = 1000 [homes] comment = Home Directories browseable = no ; By default, the home directories are exported read only. Change next ; parameter to "no" if you want to be able to write to them. read only = no ; File creation mask is set to 0700 for security reasons. If you want to ; create files with group=rw permissions, set next parameter to 0775. # create mask = 0700 ; Directory creation mask is set to 0700 for security reasons. If you want to ; create dirs. with group=rw permissions, set next parameter to 0775. # directory mask = 0700 [myth] comment = Myth files writeable = yes valid users = mythtv path = /myth Code: /etc/samba # ls -l /home/mythtv/
total 36 -rwx------ 1 mythtv mythtv 11441 Mar 5 11:36 autoexpire.cpp -rwxr-xr-x 1 root root 2176 Dec 11 10:21 lircd-g.conf -rw-r--r-- 1 root root 1775 Dec 11 10:21 lircd.conf -rw-r--r-- 1 root root 3107 Dec 11 10:40 lircd.conf.conf drwxr-xr-x 13 root root 4096 Mar 5 09:19 mythtv drwxr-xr-x 12 root root 4096 Feb 16 17:18 mythweb drwxr-xr-x 2 mythtv mythtv 4096 Mar 5 13:13 tmp |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |