Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
    
Thanks for the tip, I still had to change file permissions for the NTFS drive though. The question and answer for this can be found here. –  Exeleration-G Dec 10 '11 at 11:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.