Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
When I mount hd0 (my windows disk), I have to mount it as root, so I do. But then, I can't get to it with my normal account. How can I be able to access this drive as my normal account? I am using a NTFS filesystem on hd0, which is only currently capable of read-only modes. So when I try to change the permissions the normal way (right-click, properties), it says it cannot change the settings because the drive's mount folder is read-only.
Originally posted by orange400 When I mount hd0 (my windows disk), I have to mount it as root, so I do. But then, I can't get to it with my normal account. How can I be able to access this drive as my normal account? I am using a NTFS filesystem on hd0, which is only currently capable of read-only modes. So when I try to change the permissions the normal way (right-click, properties), it says it cannot change the settings because the drive's mount folder is read-only.
you have to edit the properties of the folder where you have mounted your windows partition
suppose that windows is mounted at /mnt/c
now to check whether it has the correct permission
do
umount /mnt/c
ls -halR /mn
Originally posted by orange400 When I mount hd0 (my windows disk), I have to mount it as root, so I do. But then, I can't get to it with my normal account. How can I be able to access this drive as my normal account? I am using a NTFS filesystem on hd0, which is only currently capable of read-only modes. So when I try to change the permissions the normal way (right-click, properties), it says it cannot change the settings because the drive's mount folder is read-only.
you have to edit the properties of the folder where you have mounted your windows partition
suppose that windows is mounted at /mnt/c
now to check whether it has the correct permission
do
umount /mnt/c
ls -halR /mnt/c
and look at the permission of .( and not of ..)
it should be something like
drw_rw_rw_
if it is not so
do a
chmod 666 /mnt/c
now mount your partition again
mount -a
it should work now
keep posted
it didn't work. During the bootup, it said [FAILED]. It said that there was a bad fs option, bad superblock, too many mounted filesystems ... of coarse not all of them, but it was the error message description. This has happened ever since I tried chmod 66 /mnt/windows. Is there any way to restore that?
I made a group called xp, then I made sure that I belonged to this group.
Then insert this in your fstab file
[b]/dev/hd0(a couple spaces) /mnt/XP(space) ntfs(space) umask=0227,uid=root,gid=xp(space) 0(space) 0
The spaces are really important of course don't type space just leave a couple spaces so that fstab can tell these are under different columns.
I did, I put that in, but it doesn't work. It's that chmod 666 setting (kind of a weird number). It has messed up my drive mountings so I can't mount my hdd. rch, help!
Originally posted by orange400 I did, I put that in, but it doesn't work. It's that chmod 666 setting (kind of a weird number). It has messed up my drive mountings so I can't mount my hdd. rch, help!
i will explain what this 666 means
rw_rw_rw=110110110(binary)=666
owner-group-others(in that order)
now i asked you to give your /etc/fstab file but you did not
so add(or modify) your /etc/fstab to include::
/dev/hda1 /mnt/windows ntfs users,default 0 0
i am assuming that your windows partition is /dev/hda1
(you can find out whether it is so by typing fdisk -l)
and your windows filesystem is ntfs
once the option is specified as users
everyone can mount your windows partition
Sorry rch, I was skimming and I skipped your request. However, my fstab is being modified very frequently, trying different things to get it to work, so I don't think it's useful ... I'm going to try the users command in fstab ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.