LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can navigate NTFS as root but not user (https://www.linuxquestions.org/questions/linux-newbie-8/can-navigate-ntfs-as-root-but-not-user-135526/)

jrperiod 01-16-2004 03:48 PM

Can navigate NTFS as root but not user
 
OK so Ive searched through the forums and it has helped me. B4 adding "unmask=0222" to my fstab file I wasnt even able to click on my NTFS partition in KDE as a user.

Now I can click on it and it will open but as a user I dont see any files. When I use my root account I can navigate the partition and play my music off of it.

Is there another line of code I need to add to the fstab line. Ive also added "user" and changed "0222" to "0000" but that doesnt change anthing.

Would it make a difference if I changed the NTFS partition to FAT32 or would I still be in the same position of trying to navigate the partition as both root and user.

david_ross 01-16-2004 04:07 PM

Are you mounting it before you look at it as the user?

jrperiod 01-16-2004 05:02 PM

Its mounted automatically.

BrianNJ 01-16-2004 05:11 PM

try using 'users' instead of 'user'

urka58 01-16-2004 05:55 PM

As this partition is auto-mounted at boot it also has root permission set.
disable the automount option with noauto in /etc/fstab an then you can access the drive mounting it when necessary. Also change from owner to user(s) in order you can mount/unmount that drive whenever you need.
Not sure how to do this on mandrake as it uses supermount, not available on slack.
Ask Mandrake forum for details

luxitan 01-16-2004 06:00 PM

you'll have to put umask=0222 on /etc/fstab, the only way i could see my ntfs as user was doing this

jrperiod 01-16-2004 07:01 PM

Thanks, Im going to try all of this when I get home tonight.

Oh, and I already have unmask=0222

jrperiod 01-16-2004 11:08 PM

OK here is my unmodified fstab

/dev/hdf1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdf6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/cdrom2 supermount dev=/dev/hdh,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,sync,codepage=850,iocharset=iso8859-1 0 0
/dev/hde1 /mnt/win_c ntfs iocharset=iso8859-1,ro 0 0
/dev/hde5 /mnt/win_d ntfs iocharset=iso8859-1,ro 0 0
/dev/hde3 /mnt/win_e ntfs iocharset=iso8859-1,ro 0 0
/dev/hde4 /mnt/win_f ntfs iocharset=iso8859-1,ro 0 0
none /mnt/zip supermount dev=/dev/sda4,fs=ext2:vfat,--,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdf5 swap swap defaults 0 0

whenever I add anything to the win_e and win_f partitions i get this err in my system log

mount: wrong fs type, bad option, bad superblock on /dev/hde4

am I typing it right "unmask=0000" or "unmask=0222" and I added "users"

Oh and what exactly does chmod 777 ....... do

jrperiod 01-17-2004 07:26 PM



slackerJoe 01-17-2004 07:57 PM

Try these....

/dev/hde3 /mnt/win_e ntfs auto,ro,umask=002 0 0
/dev/hde4 /mnt/win_f ntfs auto,ro,umask=002 0 0

I had the same issue but with this entry every user is able to use files from the ntfs partition and it is auto mounted.

jrperiod 01-18-2004 11:33 AM

Thanks SlackerJoe, this worked for me.

slackerJoe 01-18-2004 06:19 PM

Glad to hear it worked for you =)


All times are GMT -5. The time now is 01:05 PM.