Midnight;520648 Wrote: 
> Anyone got a fix for Squeezeserver not recognising the music in my music
> folder.  All scans come up blank?
> 
> I suspect that I soemhow need to change the permisions of my music
> folder but I'm new to linux and dont know how to do it?
> 

Squeezebox server runs under the username of 'squeezeboxserver', so
this user will need access to your music.

There are like most things multiple ways to do this.  You could mess
with 'groups' and such, but since it's only music, I think it's easiest
to just grant 'anyone' the ability to read your music files.  (This is
'anyone' on the machine, not anyone in the world, well, unless you leave
your server open to the world...)

Assuming your username is 'midnight' and your music is in your home
directory in a folder named 'Music', the following will work from the
command line.  (You could do it through a GUI perhaps, but my fear is
you'll have to do things in a much more rote fashion: the command line
is good for many things, and chmod is mostly 'safe'.. it doesn't delete
anything, just changes permissions, and it's not hard to change them
back.)


chmod o+x /home/midnight
chmod -R a+Xr /home/midnight/Music

The first one makes it so other users can go "through" your home
directory.  It may not be needed, but some setups make your home
directory unsearchable by others.

They can't "stop" there, but they can get to directories deeper than
your home directory (assuming those are readable).  The 'x' on
directories mean it is 'searchable'.

The second one is a bit more complex.

The "-R" means "recursive", for "do this to /home/midnight/Music and
everything below that", so /home/midnight/Music/Albumname and such would
also be modified.

The "a+Xr" can be broken into parts:
a = 'anyone'
+ = "add these permissions"
X = "if this is a directory, make it searchable"
r = "grant read access"

So that would, for anyone, add the permission to read files and
read/search directories.

SBS should then be able to find your music.

(Assuming the path names I made up above are valid anyway.)

More details on where the music is on your file system and I can give
you the exact commands if the above isn't clear enough.


-- 
snarlydwarf
------------------------------------------------------------------------
snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=75662

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to