Welcome to the Linux Foundation Forum!

how to lock folder ?


i want to know i can lock folder in ubuntu or not?

if i can lock it please guide me.;)


  • mfillpot
    mfillpot Posts: 2,177
    you can change the permissions of the files/folder to restrict other users and groups from having access to the contents.

    You can read here for more about permissions:
  • tonjaa
    tonjaa Posts: 19
    thak you to guide me . i understand bit about chmod and i want to know about program
    lockfile-progs 0.1.11 Ubuntu2
    i saw in synaptic package manager how to use it ?
    it 's run in terminal or ?:huh:
  • FBulovic
    FBulovic Posts: 5
    Maybe GUI would be easier. Right click folder and select properties, now pick tab called permissions. Adjust permissions how you like it for all three groups eg read only. Optionally apply permissions to enclosed files.
    To learn about chmod in terminal execute man chmod.
    For example chmod 0777 path is allow everything and everybody. Try some combinations like chmod 522 path
    Use ls -l path to see what is outcome.
  • tonjaa
    tonjaa Posts: 19
    thank you . now i can use command chmod for change permission
    and i use pro gram Cryptkeeper it easy to use .


Upcoming Training