LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-18-2002, 08:43 PM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
Drive access permissions


OK, how do I set up my box to allow a user to access the /mnt file system and to the drives? I do have my computer set to high security, but I need to access cdrom's and such, and my user cant even enter the /mnt folder.
 
Old 05-18-2002, 08:58 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
What's your permissions on the /mnt directory and the devices in the /dev directory ? Also if you have them automount from your /etc/fstab, what's it look like ?
 
Old 05-18-2002, 11:46 PM   #3
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
Well trickster, the owner is root, with group being adm.

My etc/fstab is below:
/dev/hde5 / reiserfs notail 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hde8 /home reiserfs notail 1 2
/dev/hdf1 /mnt/Archive vfat user,exec,dev,suid,ro,iocharset=iso8859-1,codepage=850 0 0
/dev/hdg /mnt/cdrom auto user,exec,nodev,nosuid,ro,iocharset=iso8859-1,codepage=850 0 0
/dev/scd0 /mnt/cdrom2 auto user,exec,nodev,nosuid,ro,iocharset=iso8859-1,codepage=850 0 0
/dev/fd0 /mnt/floppy auto user,exec,nodev,nosuid,rw,iocharset=iso8859-1,sync,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hde7 /usr reiserfs notail 1 2
/dev/hde6 swap swap defaults 0 0


Hope this helps. I know I am simply missing something, but for the life of my I jsut dont see any reason why I am having issues.
 
Old 05-21-2002, 04:01 AM   #4
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
It's not just simple permissions is it? I mean the user is a member of the adm group? and the dir permissions are something like drwxr-x--- ?
 
Old 05-21-2002, 10:45 AM   #5
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
It is definately a permissions thing, because /root has full access and users do not.

I need to mount everything with read permission, but not write or execute. That way no one can install programs or overwrite on my data drive.
 
Old 05-22-2002, 07:20 AM   #6
vfs
Member
 
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184

Rep: Reputation: 30
Try this:

chmod 1777 /mnt

HTH,

vfs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
security-access permissions kumary Linux - Newbie 7 12-03-2005 01:40 PM
Permissions for Samba Access BerlinBadger Linux - Networking 1 10-28-2005 09:13 AM
NTFS access permissions ALInux Linux - General 3 10-16-2005 12:11 PM
Netatalk Access Permissions nutthick Linux - Networking 1 12-14-2004 08:25 AM
M$ Proxy with access permissions StuartGrant Linux - Newbie 4 05-31-2001 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:52 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