Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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 a sheevaplug PC (Debian installed) that I'm trying to setup my personal FTP server with. So far I was able to set up auto mounting and installed pure-ftpd. I currently have autofs setup to mount the external USB drive to the home dir of a user called "xt" (/home/xt/usb1)

Here's the mounting options I used:

usb1 -fstype=auto,umask=000,uid=1000,gid=1000,rw,nosuid,nodev,user :/dev/sda1

And the pure-ftpd cmd:

pure-ftpd -S 400 -c 30 -B -j -E

With the way it is now, I'm able to browse all dirs fine, I can even upload, rename and delete files outside of the usb drive. However inside the usb drive, I can browse files only (denied access to downloads, uploads, delete, etc...).

I did an ls -l /home/xt/usb1 and all dirs are listed as: drwxrwxrwx on the permissions colum so on paper, I should be able to do anything to the drive.

share|improve this question

After countless Google searches I finally found the solution. It turns out I couldn't even write files (rename, delete, etc...) as root locally on the usb drive.

This made me think the problem must be at the driver/firmware level and the fact that the drive is formatted ntfs. Apparently the Debian OS I installed on the plug shipped the regular ntfs drivers, which can only do read operations, so once I installed ntfs-3g, which has read and write compatibility, my ftp sever is all set now.

share|improve this answer

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.