Cifsd can't write to shared drive

I'm playing around with cifsd as it is a very small file server option.

I can connect and browse, but I can not create a folder or file
From a mac and a ubuntu serve same result

this is the mount command from ubuntu i use

sudo mount -t cifs -o username=sonos,password=XXXXX,uid=$(id -u),gid=$(id -g),forceuid,forcegid // ~/ar750samba

This is my smb.conf

config globals
	option 'description'	'Cifsd on OpenWrt'
	option 'unix charset'  'UTF-8'
	option 'interfaces' 'lo br-lan'
config share

	option name 'sda1'
	option path '/mnt/sda1'
	option guest_ok 'yes'
	option create_mask '0666'
	option dir_mask '0777'
	option writeable 'yes'
	option force_root '1'

Any idea what i'm doing wrong
I did set a user and password with cifsadmin

these are the rights to the shared directory

ls -la
drwxr-xr-x    1 root     root           224 Dec 31  1969 .
drwxr-xr-x    1 root     root           352 Aug  4 09:37 ..
drwxrwsrwx    5 sonos    samba         4096 Aug  4 10:05 sda1

on a different router i have samba4 installed and it works ok.

The funny part is that I can delete a folder not create a new one

zombie revive.

You seem to have hit a big endian bug.

Please report this here:

1 Like


But It is working with the latest source code now thanks again