I use OpenSuse 11.2 and Windows XP. After booting to OpenSuse, I can see NTFS drives are mounted but I am always being asked for a password to access them. Is it possible to access NTFS drives without typing a password? The reason is I created links referring to folders and files stored on the NTFS drives. The links become inactive after booting to Linux though.
Le 25/04/2010 13:46, hcvv a écrit :
>
> Show your -/etc/fstab-, thus everybody can see what is mounted, how and
> where.
>
>
?
better show the result of the “mount” or “df” command!
openSUSE installer by default sets mounts in fstab for NTFS partitions that allow read access for everyone but write access for root only. That might be the problem, if it is then you need to change the mount information for the NTFS partitions in fstab from like this:
/dev/disk/by-id/blah_blah-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
to like this
/dev/disk/by-id/blah_blah-part1 /windows/C ntfs-3g defaults 0 0
I would go for mount then (giving the actual mount situation) and not for df (does not tell the fs type and mount parameters and thus we have to guess which one we are talking about).
If you can. Identify the partition you want to do this with. There may only be the one, but sometimes users have a plethora of ntfs partitions and it’s easier if we don’t have to take a stab at it.
Device Beginning End Blocks Id System
/dev/sda1 1 3318 26651803+ 7 HPFS/NTFS
/dev/sda2 3319 11900 68934915 f W95 (LBA)
/dev/sda3 11901 12149 2000092+ 82 Linux swap/Solaris
/dev/sda4 * 12150 14593 19631430 83 Linux
/dev/sda5 3319 11900 68934883+ 7 HPFS/NTFS
mount
/dev/sda4 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/proc on /var/lib/ntp/proc type none (ro,bind)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda5 on /media/DATA-1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda1 on /media/SYSTEM-1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda4 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
securityfs on /sys/kernel/security type securityfs (rw)
/proc on /var/lib/ntp/proc type none (ro,bind)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda5 on /media/DATA-1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda1 on /media/SYSTEM-1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096