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 / kk.utnoor

the root UID/GID is 0 (zero). which is why he can able to
intervene in all normal users files even though he don't
had permission. A normal user will don't have the permission
to change ownership of file. The command to change ownership
is < chown user.user file >

Is This Answer Correct ?    77 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one send me one project on linux ...?

2364


What is make in linux?

544


Which of the following tasks cannot be accomplished with the touch command?

560


How do you clear the screen in linux?

553


What is cpu in linux?

544






How many linux commands are there?

618


What does mkdir do in linux?

541


How does mkdir work in linux?

609


Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.

1157


How remove all files in a directory linux?

533


How do I check my cpu cores?

538


What is the command to see on which port which service is running?

543


How do I navigate in cmd?

548


Explain about document formatting?

604


Where can I find bash in linux?

550