You are not logged in.

#1 2012-09-23 16:41:42

MCH
Member
Registered: 2012-09-23
Posts: 1

Samba — Can't write to a share with “unix extensions = no” set in smb.

Hello @all!

Unfortunately, I have a problem, writing to a samba share which I'm unable to solve.

My /etc/samba/smb.conf :

[global]
workgroup = w
server string = server
security = user
load printers = no
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes 

unix extensions = no
# if I comment above line, I can write to /home/shareuser/writable

follow symlinks = yes
wide links = yes 

[writable]
comment = test
writable = yes 
valid users = shareuser
path=/home/shareuser/writable

shareuser has valid passwd and smbpasswd (-a)

I mount the share like this:

mount -t cifs //server/writable mountpoint/ -o username=shareuser

With

unix extensions = yes

, I can write to the share.

With

unix extensions = no

, I can't write to the share.

What I try to achieve in the end, is to have a writable password protected share, which forwards file permissions to clients and also allows them to access directories and files which are symlinked into the share directory (both from linux and windows clients if that's even possible).


PS: I also posted this on stackexchange.com (http://unix.stackexchange.com/questions … n-smb-conf)


PPS: Since I'm using systemd without syslog I had to create the /var/log/samba directory before smbd logged anything.


Thank you in advance for any help smile

Last edited by MCH (2012-09-23 20:59:41)

Offline

Board footer

Powered by FluxBB