Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 8 of 8
  1. #1

    anyone know how to chmod -R ?

    Hi folks.

    I just did a fresh install of Ubuntu 7.04. I copies all my music onto my second internal HD, /media/disk in directory audiofiles. I've been trying without success to change the permissions on that directory.

    If you had a directory /media/disk/audiofiles/ that contained artist/album/track.ogg and playlist files, how would you change the permissions to let slimserver scan and play the files?

    sudo chmod --recursive 777 /media/disk/ isn't doing it. Any ideas where I'm going wrong?

    Thanks,

    -- Killick

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Posts
    7,099
    How is the drive formatted?

    What is the error message?
    Current: SB2, Transporter, Boom (PQP3 - late beta, PQP1 - early beta), SBC (early beta), Squeezebox Radio (PB1 - early beta), Squeezebox Touch (late beta)
    Sold: SB3, Duet

  3. #3

    chmod -R

    Sorry folks. I've found my mistake. chmod -R 777 /media/disk/audiophiles does work.

    -- Killick

  4. #4
    Senior Member
    Join Date
    Dec 2006
    Posts
    243
    "chmod -R a+rX"

  5. #5
    Robin Bowes
    Guest

    anyone know how to chmod -R ?

    killick wrote:
    > Sorry folks. I've found my mistake. chmod -R 777
    > /media/disk/audiophiles does work.


    You really don't need to do that - you'd be better off getting to the
    bottom of your permissions issues and sorting out properly.

    Failing that, you don't need 777 permissions on everything. "read" is
    all you need:

    chmod -R a+r /media/disk/audiophiles


    R.


  6. #6
    Quote Originally Posted by Robin Bowes View Post
    killick wrote:
    > Sorry folks. I've found my mistake. chmod -R 777
    > /media/disk/audiophiles does work.


    You really don't need to do that - you'd be better off getting to the
    bottom of your permissions issues and sorting out properly.

    Failing that, you don't need 777 permissions on everything. "read" is
    all you need:

    chmod -R a+r /media/disk/audiophiles


    R.
    Agree on getting to the bottom of your permissions issue BUT you will probably need "write" to update tags outside of Slimserver.
    --
    Linzer

  7. #7
    Robin Bowes
    Guest

    anyone know how to chmod -R ?

    Linzer wrote:
    > Robin Bowes;265437 Wrote:
    >> killick wrote:
    >>> Sorry folks. I've found my mistake. chmod -R 777
    >>> /media/disk/audiophiles does work.

    >> You really don't need to do that - you'd be better off getting to
    >> the bottom of your permissions issues and sorting out properly.
    >>
    >> Failing that, you don't need 777 permissions on everything. "read"
    >> is all you need:
    >>
    >> chmod -R a+r /media/disk/audiophiles
    >>
    >>
    >> R.

    >
    > Agree on getting to the bottom of your permissions issue BUT you will
    > probably need "write" to update tags outside of Slimserver.



    The OP said:

    > If you had a directory /media/disk/audiofiles/ that contained
    > artist/album/track.ogg and playlist files, how would you change the
    > permissions to let slimserver scan and play the files?


    slimserver only needs read permissions.

    R.


  8. #8
    Senior Member snarlydwarf's Avatar
    Join Date
    Jul 2005
    Location
    Oregon
    Posts
    3,675
    Quote Originally Posted by Robin Bowes View Post
    slimserver only needs read permissions.
    But it needs X permissions on directories.

    So the ideal way is to do it with two commands:

    Code:
    find /media/disk/audiophiles -type d -exec chmod a+rx {} \;
    find /media/disk/audiophiles -type f -exec chmod a+r {} \;

Posting Permissions

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