QuestionQ83Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich command makes /bin/foo executable by everyone while allowing only its owner to write to it?Achmod u=rwx,go=rx /bin/fooBchmod o+rwx,a+rx /bin/fooCchmod 577 /bin/fooDchmod 775 /bin/fooShow AnswerAnswerExplanationchmod 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.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion