To make a Samba share writable on a UNIX system, follow these steps:
- Open the Samba configuration file for editing. The location of this file may vary depending on your system, but it is usually located at
/etc/samba/smb.conf
. - Locate the section of the file that defines the share you want to make writable. This section will usually have a name in square brackets, such as
[myshare]
. - Add the following line to the share section:
writeable = yes
This line tells Samba to allow users to write to the share.
- Save the changes to the configuration file and exit the editor.
- Restart the Samba service to apply the changes. On most systems, you can do this with the following command:
sudo service smbd restart
If this command does not work, consult your system documentation or administrator for the appropriate command to restart the Samba service.
Once you have completed these steps, the Samba share should be writable by any users who have appropriate permissions to access it. Note that you may need to adjust the permissions on the share’s underlying directory and files to allow users to write to them.