UNIX Samba: Make A Share Writable

To make a Samba share writable on a UNIX system, follow these steps:

  1. 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.
  2. 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].
  3. Add the following line to the share section:
    writeable = yes

    This line tells Samba to allow users to write to the share.

  4. Save the changes to the configuration file and exit the editor.
  5. 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.

Leave a Comment