Results 1 to 3 of 3

Thread: how do i put a "lock" on a folder/file?

  1. #1
    Join Date
    Jan 2010
    Beans
    76

    how do i put a "lock" on a folder/file?

    how do i put a "lock" on a folder/file?

  2. #2
    Join Date
    Jul 2007
    Location
    Burlington, NC
    Beans
    1,995
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 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]"

  3. #3
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: how do i put a "lock" on a folder/file?

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •