QuestionQ83

VerifiedEssential Commands

Which command makes /bin/foo executable by everyone while allowing only its owner to write to it?

Explanation

chmod u=rwx,go=rx /bin/foo gives the owner read, write, and execute permissions, while group and other users receive only read and execute permissions. This makes the file executable by everyone and writable only by its owner.

Community Discussion

No comments yet. Be the first to start the discussion!