Public bug reported:

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,nodev,noatime,uid=1000,umask=077"

'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,nodev,noatime,allow_other,default_permissions,blksize=512)"


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,nodev,noatime,uid=1000,umask=077,no_def_opts"

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

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Cannot mount ntfs partition as only writable by 1 user
https://bugs.launchpad.net/bugs/250597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to