I have a quick question in regards to Samba share. I have recently built an Ubuntu server and moved all my previous Windows NTFS HDD into the server. My goal is to share all 4 HDD to utilize on my other Windows machines and to share through Plex media server. I have shared the HDD through Ubuntu but I can't change permissions and even when trying to manually configure through smb.conf I can't get the permissions to successfully change. I have attached what I have configured in the smb.conf. Any help would be greatly appreciated. Here is the rest of the smb.conf for reference.
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
wins support = yes
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
#======================= Share Definitions =======================
realm = localdomain
server role = domain controller
server services = +smb -s3fs
dcerpc endpoint servers = -winreg -srvsvc
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Ross's Shares
[share]
comment = home
path = /home/roce/Downloads
browsable = yes
guest ok = yes
read only = no
create mask = 0777
[share]
comment = SDB - Data
path = /home/roce/Data
browsable = yes
guest ok = yes
read only = no
create mask = 0777
[share]
comment = SDC - Movies
path = /home/roce/Movies
browsable = yes
guest ok = yes
read only = no
create mask = 0777
[share]
comment = SDD - TV Shows
path = /home/roce/TV Shows
browsable = yes
guest ok = yes
read only = no
create mask = 0777
[share]
comment = SDE
path = /home/roce/Data
browsable = yes
guest ok = yes
read only = no
create mask = 0777
[sysvol]
path = /var/lib/samba/sysvol
read only = no
[netlogon]
path = /var/lib/samba/sysvol/localdomain/scripts
read only = no
I also find after adding/changing SAMBA shares I have to restart the smbd service and the nmbd service before they will show up and work properly. Of course, a reboot will also restart smbd and nmbd, but that's the painful slow way.
– SunnyDaze May 30 '18 at 20:35