{"id":16554584,"url":"https://github.com/deepjyoti30/locker","last_synced_at":"2025-10-04T01:31:48.259Z","repository":{"id":44920778,"uuid":"255659041","full_name":"deepjyoti30/locker","owner":"deepjyoti30","description":"Just another naive locker program for Linux written in shell","archived":false,"fork":false,"pushed_at":"2022-01-18T13:19:49.000Z","size":1229,"stargazers_count":22,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-27T12:45:08.230Z","etag":null,"topics":["chmod","filesystem","linux","locker","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepjyoti30.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-14T16:12:38.000Z","updated_at":"2024-05-14T23:22:42.000Z","dependencies_parsed_at":"2022-09-06T10:10:50.252Z","dependency_job_id":null,"html_url":"https://github.com/deepjyoti30/locker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepjyoti30%2Flocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepjyoti30%2Flocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepjyoti30%2Flocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepjyoti30%2Flocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepjyoti30","download_url":"https://codeload.github.com/deepjyoti30/locker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235078306,"owners_count":18932348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chmod","filesystem","linux","locker","shell"],"created_at":"2024-10-11T19:51:50.246Z","updated_at":"2025-10-04T01:31:42.509Z","avatar_url":"https://github.com/deepjyoti30.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Locker\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\".github/locker.gif\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cpre style=\"background: none !important;font-weight:bold!important;\"\u003e\n   __            _             \n  / /  ___   ___| | _____ _ __ \n / /  / _ \\ / __| |/ / _ \\ '__|\n/ /__| (_) | (__|   \u003c  __/ |   \n\\____/\\___/ \\___|_|\\_\\___|_|   \n\n\u003cbr\u003e\nJust another naive locker for *nix\n\u003c/pre\u003e\n\u003cbr/\u003e\n\n[![Made with Bash](https://img.shields.io/badge/Made%20with-Bash-red?style=for-the-badge)]() [![License](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](LICENSE.md)\n\n\u003c/div\u003e\n\n## Why this\n\nI was just reading a book and then I found out that we can change the permissions of a directory to none for all the users and that basically doesn't let any program except rm access the directory.\n\nHence, I created a small, naive script that just adds the ability to change those permissions with a password, which means that the dir can be __locked__ using the password.\n\n## Dependencies\n\nAre you kidding me? It's written in Shell, no dependencies, enjoy.\n\n## Installation\n\n- Clone the repo and enter the dir\n\n   ```git clone https://github.com/deepjyoti30/locker \u0026\u0026 cd locker```\n\n- Install using make\n\n   ```make install```\n\n## Usage\n\n```console\nUsage: locker OPERATION DIR [--help]\n\nPositional arguments:\n\n  OPERATION: Either of [lock] or [unlock] can be passed.\n  DIR: Directory to operate on.\n\nOptional arguments:\n\n  --help: Show this message and exit\n\n```\n\n## Credits\n\nProbably the book ```UNIX: concepts and applications``` by Sumitabha Das.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepjyoti30%2Flocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepjyoti30%2Flocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepjyoti30%2Flocker/lists"}