Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I messed around with Linux a few years ago, but am just setting up a new media server at home. I've spent a day and a half trying to get SAMBA working. Had a breakthrough today - just need to do something else, but don't quite know what!

System has 2x2TB SATA drives which store media. These are mounted to /mnt/WestDig2TB and /mnt/WD2TB

fstab entry is as such :

UUID=6A5877D058779A11 /mnt/WestDig2TB ntfs-3g auto,users,permissions 0 0

Currently, SAMBA is sharing the files and Windows 7 & 8 can view. This is great. However, I would like 1 Windows machine to have read & write access.

No messing around in smb.conf seems to enable me to do this. The Windows machines never ask for a password - it is as if guest access is always on. Probably something to do with that Fstab entry.

The goal : 5 Windows machines + HTPC (Xbmc) with read only access. 1 Windows laptop, and the Ubuntu desktop, with full read/write access.

Here are some section from smb.conf

server role = standalone server
passwd program = /usr/bin/passwd %u
pam password change = yes
unix password sync = yes
server string = Media server (Samba, Ubuntu)
usershare allow guests = no
dns proxy = no
map to guest = bad user
;   passdb backend = tdbsam
workgroup = ccc
security = user
panic action = /usr/share/samba/panic-action %d
;   netbios name = Mediaserve
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
;   os level = 20
syslog = 0
max log size = 1000
obey pam restrictions = yes
log file = /var/log/samba/log.%m

writeable = yes
read list = xbmc
path = /mnt/WestDig2TB/Audiobooks
write list = rxxxx,xbmcwrite
browseable = yes

[HD Movies 2]
path = /mnt/WestDig2TB/HD Movies 2
writeable = yes
public = yes
create mask = 0755
write list = rxxxx,xbmcwrite

path = /srv/share
writeable = yes
public = yes

I did mess with CHMOD for these directories. ls -all shows

drwxrwxrwx for both folders in the /mnt directory. Any help would be greatly appreciated!


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.