Q&A
Ask and answer questions to make information more available to wider audiences.
Caleb Clore @cslebclore   18, Jul 2023 12:00 AM
change permissions under Linux
How do you change permissions under Linux?
answers 1
 
Answer 1
Robert Gearhart @robert_gearhart   21, Jul 2023 04:35 PM
Assuming you are the system administrator or the owner of a file or directory, you can grant permission using the chmod command. Use + symbol to add permission or – symbol to deny permission, along with any of the following letters: u (user), g (group), o (others), a (all), r (read), w (write) and x (execute). For example, the command chmod go+rw FILE1.TXT grants read and write access to the file FILE1.TXT, which is assigned to groups and others.