permissions to /var /usr

Discussion in 'Server Operation' started by kopper, Nov 13, 2009.

  1. kopper

    kopper New Member

    hi guys

    I had 10 users and 3 linux servers
    they are normal users

    I need to assign read access to these 1o users to /opt /var /usr and all files and folder withing them

    how can I accomplish that without going user by user?


    any idea?

    should this command work? well for me is not working

    Code:
    chmod -R o+r /var/*
    is that command OK?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I think
    Code:
    chmod -R o+r /var
    should be enough.
     
  3. kopper

    kopper New Member

    well I think I need it on /var /usr

    do you think is a good idea? provide read permissions to all folders and files with those 2?

    thanks
     
  4. kopper

    kopper New Member

    i just found is not a good practice AT ALL :eek:
     
  5. falko

    falko Super Moderator Howtoforge Staff

    A safer way would be to create a group for these 10 users and then give read permissions to just that group.
     

Share This Page