what is the UID and GID of root user? Can a normal user can
change the ownership of a file? what is the command to
change ownership of a file?

Answer Posted / amit kumar ghosh

"The UID & GID of root user are 0".
No, a normal cannot change the ownership even if it is the
owner of that file.

That cmd to change ownership.
#chown owner:groupowner filename.

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you copy in terminal?

553


Describe the mknod command and when you’d use it.

532


How does grep work in linux?

510


How do I start ms dos?

523


What is cmake in linux?

599






What is p command?

563


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

545


How do make computer faster?

531


What does the command env do?

530


What do you mean by directory?

546


You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

500


What are the basic command in linux?

530


What is cpu core in linux?

503


Is cmake a compiler?

593


What does free command do in linux?

572