
1 ntfs volume, 2 mount points, 2 different users--possible?
I would like to mount one NTFS volume in two places, mounted as two different users. For example, fstab:
Code:
# mount the NTFS volume once for each user
# note that /mnt/WinXP is mode 0500 so that users
# cannot access other users' files through these mount points
/dev/sda2 /mnt/WinXP/us ntfs-3g rw,uid=1000,gid=1000 ....
/dev/sda2 /mnt/WinXp/them ntfs-3g rw,uid=2000,gid=2000 ....
# now rebind a subtree of each mount to that user's home directory
/mnt/WinXP/us/DocSet/Us/MyDocs /home/us/MyDocs none rw,bind
/mnt/WinXP/them/DocSet/Them/MyDocs /home/them/MyDocs none rw,bind
However, the second mount of /dev/sda2 always seems to get the same ownership as the first mount, no matter what order I put them in.
This is using ntfs-3g 1.913-2ubuntu1 on Ubuntu 8.04, kernel 2.6.24-15_generic (I think... trying to recall from memory since I don't have access to the system at this moment).
Before I try to manually install the latest ntfs-3g version, I would like to understand if I am I doing something wrong, or is this an inherent limitation of the driver or kernel data structures?
Thanks and Best Regards,
T.