Unmount the partition if it is currently mounted:
Code:
sudo umount /media/506C1EA132F525C2
Create a home for the partition to Live in:
Code:
sudo mkdir /media/Shared
Add the following line to the end of /etc/fstab
Code:
UUID=506C1EA132F525C2 /media/Shared ntfs defaults,nls=utf8,uid=1000,umask=0022,windows_names 0 0
Then run the following command to test for syntax errors and if there are none mount the partition:
That should give you a mounted partition with 755 permissions but it will not fulfill your original requirement:
For the purpose of this thread, let's call them like this:
ivan: original account created when system was installed (System Administrator).
ivan-media: intended for media playing (Standard User).
ivan-backup: support / backup (System Administrator).
If you still want that to happen then create a new group, let's call it "special":
Code:
sudo groupadd special
Then add both ivan and ivan-backup to that group:
Code:
sudo gpasswd -a ivan special
sudo gpasswd -a ivan-backup special
Note: you will have to logout and log back in to have those group memberships registered.
Then change the fstab entry to this:
Code:
UUID=506C1EA132F525C2 /media/Shared ntfs defaults,nls=utf8,uid=1000,gid=special,umask=0002,windows_names 0 0
That will produce a mounted partition with the following permissions:
owner = ivan
group = special
permissions = 775
** NTFS was not the best filesystem to experiment with chmod / chown since it has no affect on ntfs as Impavidus stated above.
** And as Impavidus also stated you will loose all of the original owner / permissions of the backup when it's placed in an ntfs partition unless you are compressing it say in a tar or zip format.
Bookmarks