I edited my fstab for ntfs, I can open the drive, but no files
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I edited my fstab for ntfs, I can open the drive, but no files
I added the following line
ntfs rw,auto,user,umask=222 00
into my fstab
Now I can open the drive as a normal user, but guess what? I see no files or contens or folders or what so ever there!
HELP!!!!!!
It the line you posted here is exactly as you entered it it fstab, it won't work. Look at the syntax used in your current fstab, and correct the entry. It need to name the device where ntfs is located, the name of the mount point, the filesystem type, and the rest of the parameters. Be advised that mounting it rw may cause problems if you try to write to it. Search these board for discussions on that issue.
You are seeing an empty directory because the file system isn't mounted.
Code:
Your second message has:
/dev/hda8 /mnt/hda/8 ntfs rw.auto,user, umask=200 0 0
You have a period after the rw option, a space before umask.
This may work better:
/dev/hda8 /mnt/hda/8 ntfs ro,default,umask=200 1 0
The first 0 at the end of the fstab entry says whether the drive should be mounted when the computer is booted. I would suggest reading the man mount page. Since the ntfs filesystem is currently read only, using the options dmask and fmask may make more sense. The umask is the file creation mask. The fmask is a file mask, dmask is directory mask. Also consider using using uid=xephyr assuming that is the name of your user account.
What do you mean by access the drive or open the drive as a normal user?
Just because you can browse to the /mnt/hda8 directory does not mean the partition is actually mounted. The mount command without options will display all mounted filesystems as will as the df command.
With the umask=222 option you do not need the rw option.
Originally posted by xephyr .........
Maybe I didn't make myself clear enought......
I can access the drive, and by that I mean I can click it and open it
but there is nothing inside, it's empty, blank, with no icons or whatsoever
Sounds like you are just accessing the mounting point created for it, but it isn't mounted, so.
From a console type mount, and see if it is actually mounted.
Also NTFS write = no can do in linux right now.
I suggest you turn that off before you blow something up.
If you just want to read the NTFS parition as a user I suggest trying in fstab
This should work fine for just reading the partition.
If you want limited user reading of it, create a new group, add the memebers you want to be able to read it and replace the gid=100 part with the id from that group instead of 100.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.