PDA

View Full Version : Permissions issue



stunter
21st July 2005, 08:21 PM
I recently installed FC4 on a machine with WinXP (NTFS) and a seperate VFAT partition. I want to get access to to these partitions. I installed the stuff to read and write NTFS and set up a couple of folders (/mnt/win_c and /mnt/win_d) to mount the partitions. Everything works fine from root, but I can't access either one from my user account. I just get the no-read, no-write symbols from nautilus. Can't get to them from cli either. I tried changing the permissions on the two folders I created to mount these partitions, but am told I don't have permisison to do so; even from the root account.

Any ideas?

tehmatticus
21st July 2005, 08:28 PM
Is everything set correctly in your /etc/fstab? Post it and lets have a look.

stunter
22nd July 2005, 11:25 PM
OK, here's my mtab and fstab--

mtab----

/dev/sda1 / ext3 rw 0 0
/dev/proc /proc proc rw 0 0
/dev/sys /sys sysfs rw 0 0
/dev/devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs rw 0 0
/dev/hda1 /mnt/win_c ntfs rw,umask=0,nls=iso8859-1 0 0
/dev/hda5 /mnt/win_d vfat rw,umask=0,iocharset=iso8859-1 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid3041) /net autofs rw,fd=4,pgrp=3041,minproto=2,maxproto=4 0 0
automount(pid3010) /misc autofs rw,fd=4,pgrp=3010,minproto=2,maxproto=4 0 0

fstab----

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-sda5 swap swap defaults 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-1 0 0
/dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-1 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

The 1 1 on the fstab ext3 is because I'm fighting with Point2Play and Cedega and it keep going Windows on me - freezing everything up.

tehmatticus
23rd July 2005, 12:00 AM
You need to add "user" to each line in fstab after the format, it should read



/dev/hda1 /mnt/win_c ntfs user,auto,umask=0,nls=iso8859-1 0 0
/dev/hda5 /mnt/win_d vfat user,auto,umask=0,iocharset=iso8859-1 0 0


The auto makes it load at boot, and the user portion should allow the users to mount it. However, if it autoloads at boot time, it should be mounted an accessable to users anyways.

Try that out and see if it works for you.

stunter
23rd July 2005, 12:35 AM
tehmatticus,

I've give it a try. I also thought that with "auto" it would allow other users, but we'll see.

Thanks,

stunter

kosmosik
23rd July 2005, 01:48 AM
http://fedoranews.org/contributors/konrad_kosmowski/fat/