Permissions with DVD-RAM
Hello,
I have an Ubuntu 9.10 x86-64 desktop system with a multi-recorder optical drive that supports DVD-RAM. When I login as root and I insert a DVD-RAM disk (with data) it mounts normally as a any other disk. The problem I am having is that when I login as normal user (an admin user) I do not have permission to even read the content, and thus, it does not automount. How can I fix this? Thanks in advance. |
Perhaps the DVD is mounted with a wrong umask or uid/gid values. Try the following:
Code:
umount /dev/<your dvd-device> Code:
umount /dev/<your dvd-device> |
Quote:
|
uid=user id, gid=group id. They can also be replaced by symbolic names.
Try the following: Insert the disk. Get root and unmount the disk: "umount /dev/sr0" Then mount it by trying "mount /dev/sr0 /mnt -o uid=<your-login-name>,gid=users" Open a shell and try to access /mnt. If you can, then the problem is due to wrong mount parameters. If not, try to post some lines of the output of "ls -l /mnt" (the filenames can be removed, if you do not want to show them here). |
Quote:
Currently my /etc/fstab has this: /dev/sr0 /media/cdrom0 user,udf,iso9660 user,noauto,exec,utf8 0 0 |
Make the options permanent:
Code:
/dev/sr0 /media/cdrom0 user,udf,iso9660 user,noauto,exec,utf8,uid=<your login>,gid=users,umask=0666 0 0 |
Quote:
Code:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8,gid=cdrom 0 0 Thank you very much, you pointed me in the right direction. |
All times are GMT -5. The time now is 12:12 AM. |