Code: Select all
$ pwd
/nas
$ ll
drwxrwxrwx. 1 root root 8192 Feb 16 16:15 1
drwxrwxrwx. 1 root root 4096 Feb 16 12:57 2
drwxrwxrwx. 1 root root 8192 Feb 16 13:46 3
Code: Select all
$ cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[public]
comment = Public Stuff
path = /nas
public = yes
writable = no
printable = no
write list = +wheel
I can also create and access other folders & files in the public share. (Creating a fourth directory from the windows machine, besides those 3 can be done with no issues)
The three folders are mounts from 3 different ntfs partitions on 3 different hard drives. They are mounted in fstab like this:
Code: Select all
UUID=9048F57548F55B04 /nas/2 ntfs defaults 0 0
UUID=6024BB8B24BB6328 /nas/1 ntfs defaults 0 0
UUID=523E79673E7944CF /nas/3 ntfs defaults 0 0, fmask=0000