- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: User access to cdrom
Operating System - Linux
1753913
Members
9070
Online
108810
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 07:18 AM
05-23-2001 07:18 AM
User access to cdrom
I missed some thing.
I mounted the cdrom as the user root but I get an error message access denied for all other users. What have I missed?
Background info.
I use the command: mount -t iso9600 /dev/cdrom /mnt/cdrom
In /etc/fstab it is set to auto load.
I get the same access denied with the floppy.
I can mount both with iso9660 or msdos and only read the devise as root.
This is a new install of Mandrake 7.2 and I installed it as a server. Every thing else that I have tested seams to be working OK.
What did I miss?
Any ideas?
Marty
I mounted the cdrom as the user root but I get an error message access denied for all other users. What have I missed?
Background info.
I use the command: mount -t iso9600 /dev/cdrom /mnt/cdrom
In /etc/fstab it is set to auto load.
I get the same access denied with the floppy.
I can mount both with iso9660 or msdos and only read the devise as root.
This is a new install of Mandrake 7.2 and I installed it as a server. Every thing else that I have tested seams to be working OK.
What did I miss?
Any ideas?
Marty
The only thing that always remain the same are the changes.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 09:28 AM
05-23-2001 09:28 AM
Re: User access to cdrom
Check /etc/fstab
The line for both the CDROM and the floppy should look something like:
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
(assuming Mandrake uses kudzu, a utility supplied by RedHat, which auto-detects hardware during startup.)
The above entries in my setup allow a user to insert and use a cdrom or floppy normally. The catch is that the device BELONGS to the user, and thus anyone else would have, at best, ro access to the device. This may explain why no one but root can read the cdrom after root has mounted it -- they just don't have the appropriate GID to do so.
hth
Mark
The line for both the CDROM and the floppy should look something like:
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
(assuming Mandrake uses kudzu, a utility supplied by RedHat, which auto-detects hardware during startup.)
The above entries in my setup allow a user to insert and use a cdrom or floppy normally. The catch is that the device BELONGS to the user, and thus anyone else would have, at best, ro access to the device. This may explain why no one but root can read the cdrom after root has mounted it -- they just don't have the appropriate GID to do so.
hth
Mark
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP