LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Change owner (https://www.linuxquestions.org/questions/linux-general-1/change-owner-40676/)

juno 01-07-2003 11:25 PM

Change owner
 
I found the user can change the file owner on UNIX box , but can't in Linux,
eg. ( On UNIX )
# whoami
UserA
# ll
-rw-rw-rw- userA ACC abc.prn
# chown UserB:ACC abc.prn
#ll
-rw-rw-rw- userB ACC abc.prn

(On Linux)
do the same thing,
# chown UserB:ACC abc.prn
chown: changing ownership of `./abc.prn': Operation not permitted

How to let the user to change the ownership to other ID? Thx.

rootboy 01-07-2003 11:39 PM

Okay, this time try it as root :)

I didn't have any trouble...


John

juno 01-07-2003 11:50 PM

Yes, root is okay, but i would like to let user to change it by themself, what can they do? thx.

rootboy 01-08-2003 07:03 AM

Apparently nothing, can't change either users or groups as a user.


John


All times are GMT -5. The time now is 04:22 PM.