linux permissions question

Discussion in 'OT Technology' started by MP, Feb 8, 2009.

  1. MP

    MP New Member

    Joined:
    Sep 10, 2002
    Messages:
    34,377
    Likes Received:
    0
    Location:
    Silicon Valley
    Just a quick Q

    I want people to be able to download files in a directory, but I don't want them to be able to go into the directory and browse around.

    What permissions would that be? I've tried a few and I can't figure out which would work.
     
  2. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    on the directory: read but no execute.. if that doesn't work I've no idea
     
  3. MP

    MP New Member

    Joined:
    Sep 10, 2002
    Messages:
    34,377
    Likes Received:
    0
    Location:
    Silicon Valley
    754? nope
    751 nope
     
  4. MP

    MP New Member

    Joined:
    Sep 10, 2002
    Messages:
    34,377
    Likes Received:
    0
    Location:
    Silicon Valley
    this is a frustrating problem to have haha.
     
  5. piratepenguin

    piratepenguin New Member

    Joined:
    Jun 18, 2006
    Messages:
    1,067
    Likes Received:
    0
    Location:
    Ireland
    my last suggestion was dumb.
    execute but no read on the directory. edit http://www.albany.edu/faculty/gms/homepage101/unix_permissions.html see the tables
    the files must be readable too (obviously)

    edit: I've found it useful to restart when this shit doesn't work. I sound like a windoid but it's something simple like users needing to login again. Maybe that's just with group permissions though. I dunno. That page seems to imply 751 would work?
     
  6. MP

    MP New Member

    Joined:
    Sep 10, 2002
    Messages:
    34,377
    Likes Received:
    0
    Location:
    Silicon Valley
    I figured it out. I deleted the index file in the directory and set the directory to 0711 and that worked.

    thanks man :)
     

Share This Page