Unlock folder (drive) & change permissions
I have a windows NTFS drive that i'm trying to mount. All my other windows drives mount fine except this one (the one with windows installed on it). It mounts fine, but when i try to open it i get "You do not have enough permissions to read file:///windows/C. The odd thing is once i mount it, it does not show up in fstab or mtab, even though it says its mounted in konqueror. It is currently set as Locked Folder, owner: root - root, dr-x------ and i want it to be dr-xr-xr-x and unlocked.
Thanks |
Try this:
Su to root. Then, chmod -R ugo+rx /windows/C. |
k, now its unlocked, but now when I try to enter the folder it says "Could not enter folder /windows/C"
|
Mine works perfectly when I installed Suse 10.0. Here's what my setup looks like:
Me@COMP:~> l /windows/ total 17 drwxr-xr-x 4 root root 96 2005-11-24 07:04 ./ drwxr-xr-x 23 root root 544 2006-05-27 01:29 ../ dr-xr-xr-x 1 root users 8192 2006-05-19 22:49 C/ drwxrwxr-x 7 root users 8192 1969-12-31 16:00 D/ Me@COMP:~> cat /etc/fstab | grep windows /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hda5 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0 Your "/dev/hd..." will probably be different. Hope this helps! :) |
Okay open /etc/fstab file and add this line to it. Replace /dev/hda1 and /media/windows with your device and directory names.
Code:
/dev/hda1 /media/windows ntfs ro,umask=0222,user,gid=users 0 0 Code:
umount -at nfts (if u have mounted it already, unmount it) |
still doesent work. This is what (part of) my fstab looks like now:
Code:
/dev/hdb2 / reiserfs acl,user_xattr 1 1 Now that I messed around with the parameters I can view and access the files on hda1 while logged on as root. The permissions are still set as dr-x------ while the working windows drive (hdb5) is dr-xr-xr-x. I'm guessing this is the problem, and the working hdb5 has Owner: root - users while hda1 is Owner: root - root |
All times are GMT -5. The time now is 02:22 PM. |