Messages in this thread | | | Date | Tue, 27 Jan 1998 23:33:16 GMT | From | David Wragg <> | Subject | NTFS umask option problem |
| |
In 2.1.82, but almost certainly in earlier kernels:
[root@gatsby davew]# mount -t ntfs -o umask=0444 /dev/hda1 /mnt/nt [root@gatsby davew]# ls -l /mnt/nt total 20 d--x--x--x 1 root root 4096 Mar 9 1997 Program Files d--x--x--x 1 root root 20480 Dec 15 21:13 archive ---------- 1 root root 0 Nov 14 1996 autoexec.bat ---------- 1 root root 278 Nov 18 11:52 boot.ini ---------- 1 root root 0 Nov 14 1996 config.sys d--x--x--x 1 root root 0 Nov 14 1996 home ---------- 1 root root 512 Dec 15 21:09 lilo.mbr ---------- 1 root root 45088768 Jan 19 14:24 pagefile.sys d--x--x--x 1 root root 0 Jan 19 15:05 temp d--x--x--x 1 root root 22528 Jan 19 14:51 winnt [root@gatsby davew]# umount /mnt/nt [root@gatsby davew]# mount -t ntfs -o umask=0222 /dev/hda1 /mnt/nt [root@gatsby davew]# ls -l /mnt/nt total 16 dr-xr-xr-x 1 root root 4096 Mar 9 1997 Program Files dr-xr-xr-x 1 root root 20480 Dec 15 21:13 archive -r--r--r-- 1 root root 0 Nov 14 1996 autoexec.bat -r--r--r-- 1 root root 278 Nov 18 11:52 boot.ini -r--r--r-- 1 root root 0 Nov 14 1996 config.sys dr-xr-xr-x 1 root root 0 Nov 14 1996 home -r--r--r-- 1 root root 512 Dec 15 21:09 lilo.mbr -r--r--r-- 1 root root 45088768 Jan 19 14:24 pagefile.sys dr-xr-xr-x 1 root root 0 Jan 19 15:05 temp dr-xr-xr-x 1 root root 22528 Jan 19 14:51 winnt
So it seems that the bits for the NTFS umask option go "?rwxrwxrw", which is a little unconventional.
-- Dave Wragg
| |