Ashrob;504552 Wrote: 
> Hi there,
> 
> I am running Debian on a Sheevaplug with a USB HDD attached with all my
> music in.
> 
> I have the drive permissions set as follows - 
> 
> find /mnt/sda1 -type f -exec chmod 644 {} \;
> 
> And the directories opened up with - 
> 
> find /mnt/sda1 -type d -exec chmod 755 {} \;
> 
> But I'm unsure if I need to run this command every time I add new music
> as the rescan isn't adding anything to New Music or the Music Folder. If
> so could someone give me a clue how to do this through Webmin? If it
> isn't a permissions problem then does anyone have an idea what it might
> be?
> 
> I have SBS set up on Windows 7 too and it scans and add the music with
> no problems.
> 
> Thanks for any help.
> 
> eta: Now I come to think of it, I add the music by taking the drive out
> of the cradle attached to the Sheevaplug, attaching it to my pc running
> Ubuntu and pasting the folders into it. I had to change the permissions
> on Ubuntu for it to allow me to do that but it's not as if the
> permissions are actually on the drive so that won't make a difference,
> will it?


To my knowledge, sqeeuezeboxserver/scanner runs as a user
"squeezeboxserver" belonging to the "nogroup" group ;-)
Therefore indeed you must make sure all audio files can be read by this
user with these credentials.

I do the same, when adding data I mostly do a recursive "chmod" and
"chown" on my complete audio tree after transferring the files.


On WIndows 7, I'm pretty sure the Squeezeboxserver runs as a user with
a way to high security level ;-) and therefore it might not have a
problem accessing fresh copied files.


-- 
jvanhambelgium
------------------------------------------------------------------------
jvanhambelgium's Profile: http://forums.slimdevices.com/member.php?userid=21453
View this thread: http://forums.slimdevices.com/showthread.php?t=73761

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

Reply via email to