automount NTFS in Redhat 8.0
Hi there,
this is my first post :) I know a little bit about linux, but I've been searching for a strong community and now I've found it ! I've got a NTFS partition that I want to access to in linux (Read Only, of course). I installed NTFS support (Redhat 8.0 using 2.4.18-19 kernel) and I can mount it via shell. When I try to make my partition auto-mounting by adding the proper line in /etc/fstab, I can't read mounted partition with the standard user. If I go root, I can read. How to resolve this ? Thanks and keep Linux working :) |
hi
search at redhat for windows partiton you need to edit fstab file,and it says there what to add take care |
Can you post up here your /etc/fstab file so we can see what your entry looks like?
Cool |
/dev/hdc1 /mnt/data ntfs umask=222,users,auto 0 0
I tried this by a approximate reading on this forum ... it works under root but not under my user thanks :) |
thanks
i'll try that cause mouting doesnt work for me http://www.linuxquestions.org/questi...threadid=43494 i use /dev/hda1 /mnt/windows vfat auto,owner,users 0 0 i'll try yours thanks,i hope it will work |
manub, just so you know I haven't left. I am just confused. Try this instead:
/dev/hdc1 /mnt/data ntfs defaults,auto,user,users,owner,umask=222,ro 0 0 What this is going to is basically overlap alot of options. However, they don't conflict (AFAIK) so you should be fine. See if that will work for you. After editing the file, umount the drive, then run: mount -a ... Post up the errors if you have any. This one seems a bit odd to me. What does ls -l /mnt/data give you anyway? Cool |
I've tried with your set, but I always get the same error:
ls -l /mnt/data ls: /mnt/data: Permission denied I log as a user, open a terminal window, go su, edit fstab, umount -a, mount -a, try to ls succesfully, back to normal user, try to ls and got this :( |
Try just mounting up the partition with the normal user (assuming it's not already mounted) try:
mount /mnt/data As a normal user. What errors do you get? Cool |
I unmounted the partition as root, then go back to normal user and did this:
mount /dev/hdc1 /mnt/data mount: only root can do that :confused: |
ok
edit /etc/fstab and use this: /dev/hdc1 /mnt/data ntfs auto,owner,users 0 0 then save and restart it will work :) |
it doesn't work :cry:
always permission denied I'm getting so much confused :confused: :confused: |
hmmmmm
at startup,you are not logged in(when loading things) you log in only after that so it should work it works for me,i tested it |
sorry but I don't understand what you're talking about ... I've got graphical login ... and I think I'm always logging in after all has loaded :)
|
oh
if you use text loader,you can see the error,and if it works or not,.... cause you log in after things are loaded,so it should work |
Here is my fstab line for NTFS:
Code:
/dev/sda1 /win ntfs umask=007,gid=201,defaults 1 0 as root edit /etc/group and add this line, be VERY careful of mistyping: Code:
lusers::201:myacct,myroomie,newdude *lusers = group name, use whatever you want *TWO colons *201 = group id, it doesn't have to be 201 but has to be the same as what you used for gid= in fstab. If 201 is taken, pick any number over 200 to be safe. *ONE colon *myacct,myroomie,newdude = list all users who you want to give access to in a comma seperated format with no spaces. It works on my box. |
All times are GMT -5. The time now is 07:09 AM. |