Find the answer to your Linux question:
Results 1 to 2 of 2
Hi there i am working on a small problem and i am unsure what i have done is correct. Below is the scenario and my attempt at solving the problem: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    2

    Help on user mangement!!


    Hi there i am working on a small problem and i am unsure what i have done is correct. Below is the scenario and my attempt at solving the problem:

    create a "/download" directory where:
    1) any user who is a member of the "red" project can retrieve a file if they know its name but cannot use "ls" to find out the name

    2) users who are member of the red project have no access to the directory

    3) only Bob can add or delete files to the directory or list its contents.

    This is what i did
    - i made the "red" group
    - i added bob into the "red" group
    - i did mkdir /home/download
    - i changed the directory associated with the file
    chgrp red /home/download
    - i then applied the "sticky bit"
    chmod 2710 /home/download

    i then changed the owner of the directory
    chown bob.red /home/download

    Is what i have done right? Could anyone provide me some help if i have done this incorrectly?

    Thanks.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Welcome to the forums, KP87!

    Sorry, but it's against the forums rules to post duplicate threads:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    Please feel free to continue your discussion in your previous thread regarding this topic.
    oz

Posting Permissions

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