Question from the Bash - Fundamentals test

How to set the permissions of a file in Bash?

Medium

We want to give the following permissions to the hello.txt file:

  • Read, write and execute for the owner
  • Write and execute for group users
  • Reading for other users

What line should I add to my script?

Author: titouan lecampStatus: PublishedQuestion passed 74 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!