Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an external hard drive formated in NTFS which I would like to be able to access by the network. I want to make a network share out of it.

I also have a Debian machine running in my house and I then got an idea.

I want to plug in my external hard drive (usb) into my Debian machine, and make a windows share with it, maybe with Samba, so I will be able to access it from my Windows 7 laptop and see it as a network share.

Additionally, how can I restrict specific folders of that network share, and allow only specific folders to specific users? For instance, I would like to give my girlfriend access to a folder of her name so she can put her files and so she wont be able to see the stuff in my folder...

share|improve this question

migrated from Nov 16 '11 at 3:35

This question came from our site for system and network administrators.

Samba is exactly the tool to use. With Samba you expose directories as NTFS shares, and they are accessed just as you would a native Windows share.

If the share in Samba is not configured as accessible by guest ok then the user must provide credentials to access the share. In a basic setup, these credentials map to linux user accounts, and so you can use standard linux permissions to control access to different directories.

There are many tutorials available, this one should help you get started.

share|improve this answer

To set it up within 15 minutes, use any graphical samba administration tool. e.g. system-config-samba, SWAT, Smb4K.

This is a very useful link for you.

share|improve this answer
I dont have the graphical interface :( – Jonathan Rioux Nov 17 '11 at 14:15

Your Answer


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.