Read/Write permissions on ntfs drive for apache

If you have a linux machine with ntfs drive for apache htdocs directory, you need to set following permissions in /etc/fstab for ntfs drive

Note: don’t forget to install ntfs-3g

UUID=your_drive_uuid /mnt/dev ntfs-3g rw,uid=1000,gid=users 0 0

rw means read,write
uid=1000 means current user id, your user id is normally 1000, you can set your user name as well
gid=users means users group, as normally you belongs to users group

save fstab file and reboot your machine.


Leave a Reply

Your email address will not be published. Required fields are marked *