[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Just one share that any and all my users can write / delete from it - samba wont hear of it



It appears to me that the only items that need to be added are:
-----
[global]
  guest account = nobody
  create mask = 0777
  directory mask = 0777
[SDRIVE]
 comment = SDRIVE Public Shared Directory
 read only = No
-----
Make sure that the user "nobody" exists in /etc/passwd and that it has a home directory defined that does NOT exist. These smb.conf entries will allow users to create files with perms of 766 and directories with perms of 0777. Most access issues beyond the setup of samba are related to windows' handling of the Workgroup/Domain junk... The Workgroup/Domain name must be the same on every PC that you want to have access to the share. Workgroup setups have less complications than Domain setups where samba is concerned...
That should fix it from the Linux/samba perspective.

Later,
Larry Irwin

[global]
        workgroup = WORKGROUP
        netbios name = ECCOFILESERVER
        server string = %h server (Samba %v)
        security = SHARE
        obey pam restrictions = Yes
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        name resolve order = wins bcast host lmhosts
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        show add printer wizard = No
        preferred master = Yes
        dns proxy = No
        wins support = Yes
        panic action = /usr/share/samba/panic-action %d
        invalid users = root

[SDRIVE]
        path = /eccofiles/sdrive
        guest ok = Yes
fileserver:/#

Here are my directory permissions

fileserver:/# ls -lar eccofiles/*
eccofiles/sdrive:
total 8
drwxrwxrwx 4 root root 4096 2006-07-26 12:53 ..
drwxrwxrwx 2 root root 4096 2006-07-26 11:44 .

eccofiles/lost+found:
total 52
drwxrwxrwx 4 root root  4096 2006-07-26 12:53 ..
drwxr-xr-x 2 root root 49152 2006-07-25 18:58 .
fileserver:/# ls -lar eccofiles*
total 60
drwxrwxrwx  2 root root  4096 2006-07-26 11:44 sdrive
drwxr-xr-x  2 root root 49152 2006-07-25 18:58 lost+found
drwxr-xr-x 22 root root  4096 2006-07-26 10:37 ..
drwxrwxrwx  4 root root  4096 2006-07-26 12:53 .
fileserver:/#



Reply to: