Find the answer to your Linux question:
Results 1 to 4 of 4
explain the use Use of setting UID and GID permissions and how its works for an application. -Sakthi....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3

    Use of setting UID and GID permissions


    explain the use Use of setting UID and GID permissions and how its works for an application.

    -Sakthi.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,425
    Sorry, but homework questions are not allowed by the third point of the http://www.linuxforums.org/forum/lin...ums-rules.html
    You must always face the curtain with a bow.

  3. #3
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    But I don't think a pointer in the right direction is prohibited.

    man chmod

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Feb 2011
    Posts
    5
    UID - To Set a program to always execute as a owner
    chmod 4755 my_program
    The owner can read, write, and execute. The group can read and execute. The world can
    read and execute. So no matter who executes this file it will always execute as if the
    owner actually executed the program.

    GID - To Set a Program to Always Execute as a Member of the File Owner’s Group
    chmod 2755 my_program
    The program will always execute as a member of the file’s group, as long as the file
    is not a shell script. The owner of the file can read, write, and execute. The group can
    read and execute. The world can read and execute. So no matter who executes this program
    it will always execute as a member of the file’s group.

Posting Permissions

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