Suse/Novell This Forum is for the discussion of Suse Linux.
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.
10-09-2006, 02:11 AM
#1
Member
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 746
Rep:
Permission denied when I try to see the files on my CD ROM
Hi,
I am trying to resolve the problem I have encountered recently. I insert CD ROM into drive and it is correctly recognised when I open My Computer. But when I try to see files on the CD I get the "Permission denied" message. How can I repair this??
10-09-2006, 02:29 AM
#2
Member
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 469
Rep:
RTFM!
man mount
(put umask=0444 in /etc/fstab)
10-09-2006, 02:59 AM
#3
Member
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 746
Original Poster
Rep:
Hi samotnik,
I put that into my fstab but it is not working. The same message appears when I try to see files on my CD.
10-09-2006, 06:26 AM
#4
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,215
Rep:
Can you post the contents of your /etc/fstab file
10-09-2006, 06:40 AM
#5
Member
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 746
Original Poster
Rep:
Here it is:
/dev/hda3 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/hdc /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdd /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
10-09-2006, 07:52 AM
#6
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,215
Rep:
Quote:
Originally Posted by riba43
/dev/hdc /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdd /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
I had the same problem with slackware 10.0 all I did was to add
user to the fstab file and it allowed the current user to have permission to mount and read from the cd. You can add this to all the cd/dvd drive in the fstab file, place it before the
noauto setting:
Code:
/dev/hdc /media/dvdrecorder subfs user ,noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdd /media/dvd subfs user ,noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
10-09-2006, 08:08 AM
#7
Member
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 746
Original Poster
Rep:
Hi fotoguy,
Thanks, I tried that but now I am getting the following error msg:
mntent]: warning: no final newline at the end of /etc/fstab
mount: unknown filesystem type 'subfs'
10-09-2006, 06:24 PM
#8
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,215
Rep:
Quote:
Originally Posted by riba43
Hi fotoguy,
Thanks, I tried that but now I am getting the following error msg:
mntent]: warning: no final newline at the end of /etc/fstab
mount: unknown filesystem type 'subfs'
OK you need to have a blank line at the end of the file
Code:
/dev/hda3 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda2 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/hdc /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/hdd /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
<-- blank line here
Without the blank line it cannot read the last line properly
10-10-2006, 12:56 AM
#9
Member
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 469
Rep:
mntent]: warning: no final newline at the end of /etc/fstab
mount: unknown filesystem type 'subfs'
The blank line at the end, and change subfs to auto
10-10-2006, 01:11 AM
#10
Member
Registered: Feb 2005
Location: Slovenia
Distribution: suse11.0
Posts: 746
Original Poster
Rep:
Hi guys,
Thanks a lot for your help. I tried what you proposed. But I always get error messages. So I search a bit in LQ an found the following:
Its the last lines you want to remove, specifcally /media/cdrom or whatever is the equivalent on your system.
At this point the auto mounter takes charge of the devices and mounts them when you put a disk in. ,
and it works. I do not need even to reboot.
10-10-2006, 02:08 AM
#11
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,215
Rep:
OK glad to hear it all sorted out.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 12:23 AM .
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