Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Apr 2008
    Posts
    13

    Rescan problems.

    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?
    Last edited by Ashrob; 2010-01-09 at 05:18.

  2. #2
    Junior Member
    Join Date
    Nov 2008
    Location
    Antwerp (Belgium)
    Posts
    18
    Quote Originally Posted by Ashrob View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •