how to use my other devices when im not root??
when im on root, it all works fine. but when im on my other user, i cant access my other windows partition etc.. nothing in my /mnt/* works... exept the cdrom when i mount it. please help me? some1? i hate being root!
|
Kan du prata Svenska?
|
mm
a, men jag e inte för god på d... men jag förstår svenska ialfall
|
ok jag tar det pa engelska, as root, add the account name you are using to the root group. this will give you some administration privileges, your English seems very good so I'll recomend this document to you http://www.tldp.org/LDP/intro-linux/html/chap_03.html
This site is the linux documentation project, if you like reading configuration methods, use this site. If you need help post your questions and I'll take you through it. Just a quick note, when you say devices, do you mean removable media? To access your floppy drive as your user account, type this command at your shell promt " mount /dev/fd0 " then to access your floppy type " cd /mnt/floppy ". Some devices such as the floppy do not automatically mount. |
I know how to mount, and whatever- but; I cant acess my other harddrives... only as root. When im on root, i can see the files on the partitions and everything works fine.. but as my other user, hen i try acess my other harddrives- they look empty. i go on termian promt, i check there with the ls command- cant see anything. i type "su" "*my pw*" and i do ls again, then i can see all my files.. ive tried chmod, chown, nothing works... im very confused.. hehe. im a n00b in slackware
|
Ok, no disrespect meant, it's hard to know some ones level of experience through posts! I'll see if I can emulate your problem and fix it, if I can I'll post the method.
|
No offence taken, of cource :) Thanks alot by the way
|
i had that problem, i edited my /etc/fstab thus:
/dev/hd# /mountpath/hd# vfat noauto,user,exec,rw,nosuid,umask=007 1 0 this makes whoever mounts the hisk as owner :) |
so I basicly add noauto,user,exec,rw,nosuid,umask=007 1 0
after the other shit? or do I have to mount the disk all over agiain on my other user? |
er not sure, try it and see. if you are all in group "users" then i don't see why it might cause a problem when changing users.
edit: why not try changing "user" to "users" in fstab, you could always change it back if it isn't recognized! |
aight... :=) anyways, if it wont work- imma try unmount em and mount em back on the other user... cause i read that the one that makes the folder owns the folder:D
|
yup ;)
|
argh, gotta run up to my comp and try it:D
|
argh, it dident work... "you nust be root to mount a device" or something like that... other sugestions? :(
|
This is what I have in my /etc/fstab
/dev/hda1 /fat-c vfat umask=000, 0 0 /dev/hdb3 /fat-d vfat umask=000, 0 0 Worked for me. You may have to chmod the folder but not sure. errm I'm pretty sure you don't actually because I did not chmod my /fat-c and can access them from my normal user. Also if they are ntfs then you should put that instead of vfat. And also if it is ntfs then you don't want people writing to the drive. I think you can accomplish that in umask but not sure of the values so I'm going to leave that for someone who knows what they are talking about. Hope this helps. |
All times are GMT -5. The time now is 01:04 AM. |