I am using Debian 8.8 and am using ntfs-3g to mount an NTFS partition in /etc/fstab. Here is my entry:

/dev/sdc1  /mnt/data_backup  ntfs-3g  rw,uid=1000,gid=1000,dmask=0002,fmask=0003  0  0

It is fine for my account userA to read and write the partition. However, my workstation is open to another userB which is not in the root group. Is there any way to make the partition writable for the non-root userB? And the best result will be that userB can only append but cannot remove the files in the partition. An FTP solution is also acceptable. Thanks!

  • is that means userB has no permission to access /mnt/data_backup, what if you add this 'permission'? and modify option uid, gid should be a good idea.
    – Se ven
    Jul 10 '17 at 4:51

I spent some time learning the concept of users and groups, which help me to understand the mechanism of ntfs-3g module. Here is my solution:

  1. Create a group ntfs, and add the userA and userB to the group.
  2. Modify gid in /etc/fstab to gid=ntfs. Then the mask means all users in the group can write the partition.

@Seven Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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