Find the answer to your Linux question:
Results 1 to 5 of 5
i am able to change the mode using chmod and able to change permission. but i am not able to change group and ownership. getting as invalid can any one ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Location
    Chennai
    Posts
    3

    regarding changing group and ownership


    i am able to change the mode using chmod and able to change permission.

    but i am not able to change group and ownership. getting as invalid

    can any one help me regarding this .

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,260
    You do not say what command you are using. The chown command can be used to change both personal and group ownership, but only by root. Ordinary users cannot change the personal ownership of their files. This is to prevent malicious programs with the SUID bit set from giving themselves root ownership and therefore root access.

    The chgrp command can be used by any user to change the group ownership to any group that user belongs to.
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Location
    Chennai
    Posts
    3

    Red face

    thanks for your reply

    i thought to not to mention command as it was common.

    i got the answer now

    i am not a root user so oly not able to change.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2009
    Location
    Chennai
    Posts
    3
    hi little old lady can i know what is meant by jargon

  6. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,639
    An example of Jargon:

    Quote Originally Posted by Computer Stupidities at Rinkworks
    "I had to hack at your registry for a bit because a virus had caused a conflict between your mouse port and the UART in your CONFIG.SYS. It was real touch and go for a while there, but I managed to get it by converting your kernel from binary to hexadecimal and backending one of your IRQs into your BIOS."
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

Posting Permissions

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