Results 1 to 7 of 7
ok so problem is that i can't change to dir where my windows partition is mounted as normal user. As superuser : mount /dev/hda5 /mnt/d , and then i want ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-09-2005 #1Just Joined!
- Join Date
- Jan 2005
- Posts
- 22
can't change dir
ok so problem is that i can't change to dir where my windows partition is mounted as normal user. As superuser : mount /dev/hda5 /mnt/d , and then i want to change to it as normal user but it says cannot change directory , permission denied, even if i chmod 777 /mnt/d i get the same error. If i umount the partition i can change to that directory.
- 02-09-2005 #2Linux Engineer
- Join Date
- Nov 2004
- Location
- Montreal, Canada
- Posts
- 1,267
Re: can't change dir
If I understand correctly, you mounted a drive into /mnt/d then if you "cd /mnt/d" it doesnt work?
Originally Posted by kosmos
can you cd to it with SuperUser?\"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
\"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps
- 02-09-2005 #3
Is the drive NTFS or FAT32? If it is NTFS, try adding a line such as this to your /etc/fstab:
and if it's fat:Code:/dev/hda5 /mnt/d ntfs user 0 0
That should workCode:/dev/hda5 /mnt/d vfat user 0 0
- 02-09-2005 #4Just Joined!
- Join Date
- Jan 2005
- Posts
- 22
UgoDeschamps: yes i can cd to it as SuperUser
lakerdonald: it is FAT partition and adding this line to /etc/fstab didn't helped.
I have one more thing. When i mount it and go as normal user to XWindow i have icon od disk that is mounted on my desktop and i can open it with file manager ( autilius ) and i can see directories on that windows partition but when i want to open any dir i get : "couldn't open /mnt/d/other , the attempt to log in failed".
edit: if i mount /dev/sr0 /mnt/cdrom i can cd to it as normal user.
- 02-09-2005 #5
After you added that line to the fstab, did you unmount and then remount the drive?
- 02-09-2005 #6Just Joined!
- Join Date
- Jan 2005
- Posts
- 22
i rebooted system.
- 02-10-2005 #7Just Joined!
- Join Date
- Jan 2005
- Posts
- 22
and now everythig works .Code:/dev/hda5 /mnt/d/ vfat ro,user,unhide,noauto,umask=022
most important options are unhide and umask.


Reply With Quote
