Re: change owner

From: Barbeau, Jean-Philippe (JP.Barbeau_at_SAQ.QC.CA)
Date: 05/28/03

  • Next message: Diego Kopel: "Re: change owner"
    Date:         Wed, 28 May 2003 16:15:43 -0400
    To: aix-l@Princeton.EDU
    
    

    only root can use chown if the man page is correct:

    "Only the root user can change the owner of a file. You can change the group
    of a
    file only if you are a root user or if you own the file. If you own the file
    but
    are not a root user, you can change the group only to a group of which you
    are a
    member."

    that's from an AIX 4.3.3 ml10 machine.

    > -----Original Message-----
    > From: Bob.Kelley@BRINKSINC.COM [mailto:Bob.Kelley@BRINKSINC.COM]
    > Sent: Wednesday, May 28, 2003 4:03 PM
    > To: aix-l@Princeton.EDU
    > Subject: Re: change owner
    >
    >
    > chown username filename
    >
    >
    >
    >
    > |---------+---------------------------->
    > | | Diego Kopel |
    > | | <dkopel@TA.TELECO|
    > | | M.COM.AR> |
    > | | Sent by: IBM AIX |
    > | | Discussion List |
    > | | <aix-l@Princeton.|
    > | | EDU> |
    > | | |
    > | | |
    > | | 05/28/2003 04:40 |
    > | | PM |
    > | | Please respond to|
    > | | IBM AIX |
    > | | Discussion List |
    > | | |
    > |---------+---------------------------->
    >
    > >-------------------------------------------------------------
    > ------------------------------------------------------------------|
    > |
    > |
    > | To: aix-l@Princeton.EDU
    > |
    > | cc:
    > |
    > | Subject: change owner
    > |
    >
    > >-------------------------------------------------------------
    > ------------------------------------------------------------------|
    >
    >
    >
    >
    > hi, how can a user (that itīs not root) change the owner of
    > his own files?
    > thanks
    >
    > NOTICE TO BRINK'S EMPLOYEES:
    > All electronic mail communications composed, sent, received
    > or stored on or
    > through Brink's equipment are subject to the Brink's Electronic
    > Communications Policy. Employees should have no expectation
    > of privacy in
    > their use of the Company's electronic mail system.
    >


  • Next message: Diego Kopel: "Re: change owner"

    Relevant Pages

    • Re: change owner
      ... "Only the root user can change the owner of a file. ... > All electronic mail communications composed, sent, received ... > their use of the Company's electronic mail system. ...
      (AIX-L)
    • Re: change owner
      ... There is sudo or you could try setting the SUID bit on the chown command ... > file only if you are a root user or if you own the file. ... >>All electronic mail communications composed, sent, received ... >>their use of the Company's electronic mail system. ...
      (AIX-L)
    • Re: change owner
      ... "Only the root user can change the owner of a file. ... that's from an AIX 4.3.3 ml10 machine. ... > their use of the Company's electronic mail system. ...
      (AIX-L)
    • Re: chown
      ... I want the user called "teste" to be the owner of this directory ... That means "aluno" cannot do this. ... Only the root user can change the ownership of a file or directory; ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: root cannot chown files
      ... I have been under the impression that the root user can do just about ... Now I am having trouble from the root login, ... trying to chown a couple files. ... chown: xxdiff: Operation not permitted. ...
      (comp.unix.aix)