Như Quỳnh Lan
New member
How do I give a user permission read only in Linux?
Answer
1 Answer
Answer
1 Answer
- Create the user useradd readonlyuser.
- Enter its password if you want password auth, otherwise, setup SSH keys passwd readonlyuser.
- Give Read and Execution permission to the directory Owner and all its sub-folders and files chmod -R o+rx /var/www/html/websitenamehere/