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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-18-2002, 08:43 PM
|
#1
|
LQ Addict
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166
Rep:
|
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.
|
|
|
05-18-2002, 08:58 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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 ?
|
|
|
05-18-2002, 11:46 PM
|
#3
|
LQ Addict
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166
Original Poster
Rep:
|
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.
|
|
|
05-21-2002, 04:01 AM
|
#4
|
Member
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661
Rep:
|
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--- ?
|
|
|
05-21-2002, 10:45 AM
|
#5
|
LQ Addict
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166
Original Poster
Rep:
|
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.
|
|
|
05-22-2002, 07:20 AM
|
#6
|
Member
Registered: Apr 2002
Location: Brazil
Distribution: Slackware
Posts: 184
Rep:
|
Try this:
chmod 1777 /mnt
HTH,
vfs.
|
|
|
All times are GMT -5. The time now is 08:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|