Find the answer to your Linux question:
Results 1 to 3 of 3
Hi gurus, How can i set the permission levels for a particular user in a particular group? Is it possible? Let me give a brief about my query: If my ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    9

    Permission for a particular user


    Hi gurus,
    How can i set the permission levels for a particular user in a particular group? Is it possible? Let me give a brief about my query: If my group is USER1 and I want to give some file permissions to john who belongs to USER2 *only*. Now what is the command for giving file permissions...

    Thanx!

  2. #2
    Linux Enthusiast
    Join Date
    Oct 2004
    Posts
    609
    As far as I know you can't do it like Windows (set multiple users/groups to a single file or directory). What you can do is create a new group, called USER3 in which group USER1 and USER2 are put in. Than you can assign files or directories with permissions of USER3.

    Use the "chgrp" to set the specific grouppermissions to a file.

  3. #3
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

Posting Permissions

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