Skip to main content

protect-rm

A modified version of the rm protection

based on https://github.com/alanzchen/rm-protection

Added ability to setup protection for multiple files and directories with one profile.

use protect + file_names... to protect files and protect -R + paths to protect all files under certain directorys.

Following command is still under testing: Change the /usr/bin/rm to rm_old

then you could change the rm-p to rm

remember to run following commands to prevent access to rm

alias rm='rm-p -i'

Metadata

Release files for protect-rm 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protect-rm 0.1.4
File Size Uploaded Provenance
protect-rm-0.1.4.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for protect-rm 0.1.4
File Interpreter ABI Platform
protect_rm-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / protect-rm-0.1.4.tar.gz

Download URL protect-rm-0.1.4.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f5cf7934c6af0de2f3f4e350998197c9ebd70549647c9007ecdee6418f238340
BLAKE2b-256 checksum
How to use checksums
7b2ebe2f75356a1a9fdc03b2101d5b02bce3092e9cb5b24f1d22510f34261201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

Release files / protect_rm-0.1.4-py3-none-any.whl

Download URL protect_rm-0.1.4-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65e289e67ab801aa5ab65c6409bbab8cd80540ebda49b42acba793a9ec3fde32
BLAKE2b-256 checksum
How to use checksums
472f2cb7024f0a3283d821e862893bb94eeed9c8e709bbc19e4cac8e8082805f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3

Security for protect-rm 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page