NTFS mounting only with root access. Please help.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > NTFS mounting only with root access. Please help.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    NTFS mounting only with root access. Please help.  
Walter Mitty


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-07-06 12:47 PM

(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.





[ Post a follow-up to this message ]



    Re: NTFS mounting only with root access. Please help.  
Walter Mitty


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-07-06 12:47 PM

*snip*

Found it : it was the ntfs specific option "umask".

/dev/sda1       /media/windows  ntfs    users,exec,umask=000,iocharset=iso88
59-1 0 0


thanks anway

==

google keywords     : mount ntfs,readonly,root only access, mount ntfs us





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:17 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register