1

On startup, I want a certain folder on an automounted NTFS drive (mounted on /media/Data), of which I've got ownership, to be shared with Samba. It should grant access to guests, but they shouldn't be able to edit or delete the files in there.

What is the best way to share a folder with this configuration on Samba on startup?

1 Answers1

2

Not really sure why you've assumed terminal commands are the way to share folders with Samba. They are not. What you need to do, assuming samba is already installed, is edit /etc/samba/smb.conf, a samba config file, and add the share to the bottom.

Example:

[some_name]
    path = /media/Data/folder_name
    writeable = no
    guest ok = yes

Hope that helps.

mikewhatever
  • 33,013