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 / debasis behera

The UID & GID of root is zero i.e 0, normal user can't
change the ownership of a file of others, he can change the
ownership of his own file. To change a ownership of a file
is -
chown username filename

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we increase disk read performance in single command in Linux operating system?

677


What does grep grep do?

511


What does touch do in linux?

510


What is bash linux?

510


How many linux commands are there?

597






Does cp overwrite?

553


What is the pwd command?

560


What is linux pwd (print working directory) command?

515


How use linux command line?

517


What is apple llvm?

526


Why do we use cmake?

526


What are the basic command in linux?

530


What is env command in linux?

504


What is a makefile in linux?

475


What does chmod do in linux?

536