View Full Version : Can Not Access windows C: Drive as other user

25th May 2012, 03:51 PM
I use Fedora 15. I have two accounts on the computer.

When I start the computer under either of the two accounts, everything works perfectly and I can view, read, and write to any of the hard drives after entering the administrator password.

If I log off and then log into the other account, I seem to be locked out of the other hard drives and I can not access them at all.

It doesn't matter which account I use first after turning on the computer. It will always work. But when I log off that account and go to the other account, that is when I get the problem.

Is there a way to fix this?

25th May 2012, 05:04 PM
Maybe you should mount your partitions on bootup (need to edit /etc/fstab).
I'm guessing that when the user first logs in and mounts the partition in /run/media/user/whatever it's not available for other users.

Gareth Jones
25th May 2012, 05:17 PM
Yes, if it's a fixed internal disk, it's best to add it to /etc/fstab. Create a permanent mount point:

sudo mkdir /mnt/windows

Get the UUID of the Windows partition:

blkid /dev/sdxn # Use appropriate device here.

Add the following line to /etc/fstab:

UUID=blkid_UUID_output_here /mnt/windows ntfs-3g defaults 0 0

Take a look through the manual page ("man ntrfs-3g") for mount options you might want to add (after "defaults,opt2,opt3..." in fstab) you can change things like permissions and ownership, or even map Windows users to Linux users etc.