You are not logged in.
Pages: 1
Just did a fresh install yesterday on an old machine and I can't seem to figure out how to access some mounted fat32 drives without becoming root. I added the user option to my fstab but that didn't change things. I can change the permissions of the folders manually but it resets to root on reboot.
heres the offending lines of my fstab:
/dev/sda1 /media/windowsxp vfat auto,exec,rw,user 0 2
/dev/sdc1 /media/windows2k vfat auto,exec,rw,user 0 2
/dev/sdc2 /media/windows7 ntfs auto,exec,rw,user 0 2
/dev/sdd1 /media/passport auto auto,exec,rw,user 0 2
Last edited by jcm65 (2010-12-25 18:29:15)
Offline
Had a quick look in wiki
https://wiki.archlinux.org/index.php/Wr … ormal_User
Check your groups as well....
MrG
Mr Green
Offline
well I modified my fstab to:
/dev/sda1 /media/windowsxp vfat auto,exec,rw,user,dmask=000 0 2
/dev/sdc1 /media/windows2k vfat auto,exec,rw,user,dmask=000 0 2
/dev/sdc2 /media/windows7 ntfs auto,exec,rw,user,dmask=000 0 2
/dev/sdd1 /media/passport auto auto,exec,rw,user,dmask=000 0 2
and my /etc/group to:
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin
adm:x:4:root,daemon
tty:x:5:
disk:x:6:root,jeff
lp:x:7:daemon,jeff
mem:x:8:
kmem:x:9:
wheel:x:10:root,jeff
ftp:x:11:
mail:x:12:
uucp:x:14:
log:x:19:root
locate:x:21:
rfkill:x:24:
smmsp:x:25:
http:x:33:
games:x:50:jeff
network:x:90:
video:x:91:jeff
audio:x:92:jeff
optical:x:93:jeff,hal
floppy:x:94:jeff,hal
storage:x:95:jeff,hal
scanner:x:96:
power:x:98:jeff
nobody:x:99:
users:x:100:
dbus:x:81:
avahi:x:84:
hal:x:82:
(jeff is the user acount.)
and now I can acess the folders but still not the files.
Last edited by jcm65 (2010-12-25 18:28:54)
Offline
Mr Green
Offline
Thanks MrG. I changed fstab to:
/dev/sdd1 /media/passport auto auto,exec,rw,user,uid=1000,gid=100,umask=000 0 2
now it reads fine. But I still cant write to it even with the "rw" option.
Last edited by jcm65 (2010-12-25 20:07:52)
Offline
remove auto, exec, rw, user, uid and gid
don't use pass 2
install ntfs-3g
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Yeah cool it works fine now, thanks.
Offline
Pages: 1