Cannot mount ntfs partition as only writable by 1 user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am attempting to mount an ntfs partition as rw by uid 1000 ('mud') and unreadable by all others. I have used the following mount command:
"sudo mount -t ntfs-3g /dev/sde1 /media/FILES -o rw,nosuid,
'ls -l /media' as another user ('guest') gives:
"drwx------ 1 mud root 16384 2008-07-06 22:42 FILES"
which appear to be the correct permissions; *but allow that user (which isn't 'mud') to browse, read and write to the partition*
'mount' gives:
"/dev/sde1 on /media/FILES type fuseblk (rw,nosuid,
When I use 'no_def_opts' in the following mount command to remove the default 'allow_other' option:
"sudo mount -t ntfs-3g /dev/sde1 /media/FILES -o rw,nosuid,
I lose access to the partition by all users but root. Please forgive my ignorance if this is not a bug, and change it into a question for me.
Thanks.
Description: Ubuntu 8.04.1
Release: 8.04
Thank you for taking the time to report this bug and help make Ubuntu better. Unfortunately, I don't quite understand your problem.
Are you saying that even though you have mounted /dev/sde1 with uid=1000 and umask=077, that it is still readable by your guest user? Your output of "ls -l /media" seems to suggest otherwise:
drwx------ 1 mud root 16384 2008-07-06 22:42 FILES
...this means that the user (mud) has read-write-execute permissions, and everybody else has no permissions at all.
When logging in as 'guest', what does "cd /media/FILES" do? Does it allow you to view the contents of /media/FILES, or does it give a permission denied error?
Thanks