Bug 5923 - RedHat: FireFox: Settigns Wizard: Cannot browse to the music folder.
: RedHat: FireFox: Settigns Wizard: Cannot browse to the music folder.
Status: CLOSED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Setup
: 7.0
: PC RedHat Linux
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-26 11:50 UTC by Wallace Lai
Modified: 2007-10-30 09:18 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wallace Lai 2007-10-26 11:50:21 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.
Comment 1 Mark Miksis 2007-10-26 12:03:52 UTC
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?
Comment 2 Wallace Lai 2007-10-26 13:33:05 UTC
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""?
Comment 3 Mark Miksis 2007-10-26 13:38:54 UTC
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.
Comment 4 Blackketter Dean 2007-10-26 14:15:57 UTC
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?
Comment 5 Michael Herger 2007-10-26 14:47:23 UTC
What's that? In another bug you wrote SC wouldn't install/run on that platform at all?!? 
Comment 6 Michael Herger 2007-10-26 23:42:23 UTC
*** Bug 5929 has been marked as a duplicate of this bug. ***
Comment 7 Michael Herger 2007-10-30 07:55:32 UTC
Wallace, any news?
Comment 8 Wallace Lai 2007-10-30 09:13:49 UTC
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.
Comment 9 Wallace Lai 2007-10-30 09:14:35 UTC
Closing.
Comment 10 Mark Miksis 2007-10-30 09:18:03 UTC
(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.