|
Home > Archive > Linux Debian support > February 2006 > NTFS mounting only with root access. Please help.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
NTFS mounting only with root access. Please help.
|
|
| Walter Mitty 2006-02-07, 7:47 am |
| (1) Current media directory (see windows)
mitticus@mitticus:/media$ umount windows
mitticus@mitticus:/media$ ls -l
total 31
lrwxrwxrwx 1 root root 6 2005-12-07 14:10 cdrom -> cdrom0
dr-xr-xr-x 1 root root 2048 1970-01-01 01:00 cdrom0
drwxr-xr-x 2 root root 4096 2005-12-28 15:56 ieee1394disk
drwxr-xr-x 2 root root 4096 2005-12-24 09:44 sdb1
drwxr-xr-x 2 root root 4096 2006-02-06 16:04 sdd5
drwxr-xr-x 2 root root 4096 2005-12-07 14:10 usb0
drwxrwxrwx 7 root root 4096 2006-02-07 09:38 usb1
drwxr-xr-x 2 root root 4096 2006-01-31 20:36 usbdisk
drwxrwxrwx 2 root root 4096 2006-02-06 14:58 windows
drwxr-xr-x 5 root root 1024 1970-01-01 01:00 xfer
** full access to windows for test purposes **
(2) Mount windows:
mitticus@mitticus:/media$ mount windows
mitticus@mitticus:/media$ ls -l
total 35
lrwxrwxrwx 1 root root 6 2005-12-07 14:10 cdrom -> cdrom0
dr-xr-xr-x 1 root root 2048 1970-01-01 01:00 cdrom0
drwxr-xr-x 2 root root 4096 2005-12-28 15:56 ieee1394disk
drwxr-xr-x 2 root root 4096 2005-12-24 09:44 sdb1
drwxr-xr-x 2 root root 4096 2006-02-06 16:04 sdd5
drwxr-xr-x 2 root root 4096 2005-12-07 14:10 usb0
drwxrwxrwx 7 root root 4096 2006-02-07 09:38 usb1
drwxr-xr-x 2 root root 4096 2006-01-31 20:36 usbdisk
dr-x------ 1 root root 8192 2006-02-04 20:12 windows
drwxr-xr-x 5 root root 1024 1970-01-01 01:00 xfer
*** See? It has gone all root on me! ***
(3) fstab lines
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 2
/dev/hda2 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 2
/dev/hdc /media/cdrom0 iso9660 user,auto 0 2
/dev/hda6 /media/xfer auto defaults 0 2
/dev/sdd5 /media/usb1 auto user,auto 0 2
/dev/sda1 /media/windows ntfs users,exec,iocharset=iso8859-1 0 0
*** all users should have access ***
(4) Question
What is happening here? "windows" was created using mkdir.
Why is it not accessible to all users after mounting? I tried google
but never found a solution to get it working : only people doing other
things or reformatting in ext2 or somesuch.
NB : if I "su" to root I can go into "windows" and "ls" etc to my
hearts content.
thanks for any help
--
Snow White's dwarfs become gnomes
-- http://news.bbc.co.uk/1/hi/england/kent/4349726.stm
The world has gone mad.
| |
| Walter Mitty 2006-02-07, 7:47 am |
| *snip*
Found it : it was the ntfs specific option "umask".
/dev/sda1 /media/windows ntfs users,exec,umask=000,iocharset=iso8859-1 0 0
thanks anway
==
google keywords : mount ntfs,readonly,root only access, mount ntfs us
|
|
|
|
|