unlock a locked folder in Suse 10.0
I just mounted ntfs partitions shown below.
gibby@linux:~> mount /dev/hda3 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/sda1 on /windows/c type ntfs (ro,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw) /dev/hda1 on /windows/d type ntfs (ro) now i can't access them. it is saying i don't have permission. and their folders are locked. any other info needed, I will be glad to post. |
Quote:
/dev/sda1 on /windows/c type ntfs (users,exec) or so..that locked-thing sounds to me, that you have mounted the partitions as some other user (say, as root) and then try to access them as some other (normal) user, who doesn't have even read permissions. |
Quote:
Quote:
If you look in man mount and look in the NTFS section you'll see all the options explained there, including this: Quote:
|
what values should be put into uid.gid,umask???
# mount -t ntfs -o user,noexec,suid,uid=500,gid=500,umask=227 /dev/sda1 /windows/c -r # mount -t ntfs -o user,noexec,suid,uid=500,gid=500,umask=227 /dev/hda1 /windows/d -r here is this now, /dev/hda3 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) usbfs on /proc/bus/usb type usbfs (rw) /dev/sda1 on /windows/c type ntfs (ro,noexec,nodev,uid=500,gid=500,umask=227) /dev/hda1 on /windows/d type ntfs (ro,noexec,nodev,uid=500,gid=500,umask=227) and I still can't get in, says access denied |
here is my /etc/fstab
/dev/hda3 / reiserfs acl,user_xattr 1 1 /dev/sda1 /windows/c ntfs ro,user 0 0 /dev/hda1 /windows/d ntfs ro,user 0 0 /dev/hda2 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/dvd /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/dvdram /media/dvdram subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 |
In /etc/fstab:
Code:
/dev/sda1 /windows/c ntfs ro,user,nosuid,nodev,umask=0 0 0 Code:
mount -o remount /windows/c |
thanks for the help b0uncer and tkedwards. Got it up and running, users priv's and getting no access denied.
|
All times are GMT -5. The time now is 03:57 PM. |