Bugzilla – Bug 5923
RedHat: FireFox: Settigns Wizard: Cannot browse to the music folder.
Last modified: 2007-10-30 09:18:03 UTC
System Info: 697 MHz, 256 MB of RAM, RedHat with FireFox 2 Steps to Repro: 1. Install SqueezeCenter. 2. Start FireFox. 3. Go to localhost:9000. 4. The browser goes to the Settings Wizard. 5. Get to the page for users to select local music directory. 6. Notice the user can browse to /home/myname. 7. There are many folders under /home/myname, including this user's music folder. None of them is visible. 8. Type the path into the text field below and click "Next" to get to the PlayList page. 9. Browse the folders structure in the big window. 10. Notice the same problem exists here also. 11. Type the path in and clcik "Next". 12. After finishing the setup, notice SqueezeCenter cannot find any of the songs. Work Around: Type the path into the text field below. Note: These browse windows work fine on the same PC booted to XP. Note 2: FireFox is better than Konqueror. On Konqueror, the folders structure does not even show up on the browse windows. In both cases, SqueezeCenter is not able to find the songs.
I assume this is installed using the RPM and running as the user "slimserver". Does this really work from windows? Note that on Red Hat, user's home directories are created with 700 permissions. Did you change these? If so, to what?
Yes, it was isntalled with RPM. And no, the permission on home directory had not been changed. What do you mean by "running as the user "slimserver""?
The RPM adds a user to the system call "slimserver". When the slimserver process is started with /sbin/service (this is done automatically at install time), the daemon is run under that user's permissions. This means that the slimserver user must have read access to the music and playlist directories (and write access to playlists). If the user's home dir is set to 700, no one else can see those files. This is discussed often on the Unix list. Most users seem to store their music somewhere other than their home directory.
Wallace: If you use a browser running on another computer to go through the setup, does the same problem occur? Or does this have to do with Firefox running on Redhat?
What's that? In another bug you wrote SC wouldn't install/run on that platform at all?!?
*** Bug 5929 has been marked as a duplicate of this bug. ***
Wallace, any news?
It works now. After copying the music folder to the outside of the home directory, and chmod'ed its permission, the path works now. The songs are streaming. Closing as WORKSFORME. Is this documented in the start up web page? If not, it needs to be.
Closing.
(In reply to comment #8) > Is this documented in the start up web page? If not, it needs to be. > Wallace, I opened bug 5965 which is a related enhancement request.