Opened 9 years ago

Closed 9 years ago

#4403 closed defect (fixed)

samba share not write able with luci

Reported by: trunneml@… Owned by: developers
Priority: high Milestone: Kamikaze 8.09 RC1
Component: packages Version:
Keywords: Cc:



when I setup a network share (samba) with luci and do not set readonly the generated /tmp/smb.conf file has no "read only"-line. But the default for samba is readonly. And in both cases (checked read only and unchecked) the network share is not writeable.

So the correct behavior is that there is a line "read only = no" or "writeable = yes" in /tmp/smb.conf when readonly is not set. (Last one is an alias for the first one.)

A patch is to add the following line to /etc/init.d/samba:

[ -z "$read_only" ] && echo -e "\twriteable = yes" >> /tmp/smb.conf

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by cyrus

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.