LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2003, 02:43 PM   #1
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Rep: Reputation: 30
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!
 
Old 07-31-2003, 02:51 PM   #2
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
Kan du prata Svenska?
 
Old 07-31-2003, 02:52 PM   #3
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
mm

a, men jag e inte för god på d... men jag förstår svenska ialfall
 
Old 07-31-2003, 03:22 PM   #4
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
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.

Last edited by mrhyde; 07-31-2003 at 03:50 PM.
 
Old 08-02-2003, 12:41 PM   #5
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
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
 
Old 08-02-2003, 01:13 PM   #6
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
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.
 
Old 08-02-2003, 01:23 PM   #7
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
No offence taken, of cource Thanks alot by the way
 
Old 08-02-2003, 01:35 PM   #8
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
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
 
Old 08-02-2003, 04:06 PM   #9
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
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?
 
Old 08-02-2003, 04:17 PM   #10
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
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!

Last edited by LinFreak!; 08-02-2003 at 04:20 PM.
 
Old 08-02-2003, 04:19 PM   #11
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
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
 
Old 08-02-2003, 04:21 PM   #12
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
yup
 
Old 08-02-2003, 04:26 PM   #13
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
argh, gotta run up to my comp and try it
 
Old 08-02-2003, 04:54 PM   #14
Kjetil4455
Member
 
Registered: Jul 2003
Location: Norway/Drammen
Distribution: Slackware~
Posts: 250

Original Poster
Rep: Reputation: 30
argh, it dident work... "you nust be root to mount a device" or something like that... other sugestions?
 
Old 08-02-2003, 05:08 PM   #15
At0mic_PC
Member
 
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
No mixer elements and/or devices found. Works only as root! titan_pi8 Linux - Newbie 2 04-30-2005 06:51 AM
Libusb devices only accessable as root qwijibow Linux - Software 3 09-29-2004 04:15 PM
letting non-root users mount devices davey Linux - General 3 12-10-2003 06:09 AM
allow non root users add devices to /proc/scsi/scsi ? ewto Linux - Newbie 5 10-14-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration