LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Permission Problem with audiocd under SuSE 8.1 (https://www.linuxquestions.org/questions/linux-general-1/permission-problem-with-audiocd-under-suse-8-1-a-53678/)

PGPGPG 04-06-2003 07:08 AM

Permission Problem with audiocd under SuSE 8.1
 
Using Konqueror I tried the URI "audiocd:/" but unfortunately got the message

An error occured while loading audiocd:/:

The file or directory / does not exist.

I learned that permission problems might be the cause. My relevant permissions are:

peter@linux:~> ls -l /dev/cdr* /dev/sr[01]
lrwxrwxrwx 1 root root 3 2003-03-13 14:29 /dev/cdrecorder -> sr0
lrwxrwxrwx 1 root root 3 2003-03-13 15:10 /dev/cdrom -> sr1
brw------- 1 peter disk 11, 0 2002-09-09 22:24 /dev/sr0
brw------- 1 peter disk 11, 1 2002-09-09 22:24 /dev/sr1

I wonder why peter and not root is owner of /dev/sr[01] because I haven't changed this.

I tried as root to
chmod g+rw /dev/sr[01]
but after the next login the group rights vanished.

The last thing I tried is to add the lines

/dev/sr0 root.disk 660
/dev/sr1 root.disk 660

to /etc/permissions.local

but without any changes so far.

Any hints appreciated

crichards 04-06-2003 08:49 AM

I'm assuming you aren't mounting the disc.

Now, lets see...Check the SuSE boot scripts for any abberant behavior. That may be the cause.

Another possibility is that you are mounting the disc, and for some reason, that changes the permissions. I haven't really paid attention to how mounting with the option user changes things, but I doubt it changes permissions.

I'd try chown'ing the proper files with the command:

chown root.root /dev/whatever

And then setting the group permisions.

Another possibliity is that SuSE 8.1 might use devfs. You'd see a file in /etc/ called devfsd.conf, and that may be the cause.

PGPGPG 04-06-2003 09:45 AM

Tried ch'owning both dev's to root.disk and chmoding to 660 but SuSE changed this on next login back to peter.disk and 600.

For security reasons I don't want to be the owner as normal user.

For using the "audiocd:/"-URI I wonder why I still have a permission problem, because I'm now the owner.

Did I mention that I verified having permission problems by successfully using "audiocd:/" as root?

Not knowing what "/etc/devfsd.conf" would be I didn't find such a file on my system.


All times are GMT -5. The time now is 02:01 PM.