how do i put a "lock" on a folder/file?
Right-Click => "Properties" and the "Permissions" Tab. From there, you can set files to "Read Only" or directories to "Access Files[Only]"
A stronger lock would be to set the immutable attribute (as you can still delete read-only if you own it): Code: chattr +i <target> Unset it with -i.
chattr +i <target>
Arch | Blog | GitHub
Ubuntu Forums Code of Conduct
Bookmarks