pchmod

Crates.iopchmod
lib.rspchmod
version0.1.0
sourcesrc
created_at2019-03-15 20:34:56.090914
updated_at2019-03-15 20:34:56.090914
descriptionChanges the access permissions of files or directories.
homepage
repositoryhttps://github.com/Gregory-Meyer/pchmod
max_upload_size
id121120
size15,784
Gregory Meyer (gregjm) (Gregory-Meyer)

documentation

README

pchmod

Crates.io

pchmod is a utility to manage the permissions of files and directories on Unix systems.

Installation

cargo install pchmod
pchmod --help

Building From Source

git clone https://github.com/Gregory-Meyer/pchmod.git
cd pchmod
cargo build --release
target/release/pchmod --help

You will then need to copy the binaries from target/release to somewhere in your PATH, like /usr/local/bin.

Usage

pchmod functions almost exactly like chmod from GNU Coreutils, but it runs in parallel with less functionality. All mode settings except 'X' are supported, including multiple symbolic modes (u=rw,g=r,o=r), but only the -R,--recursive flag is supported. Mode changing is done in parallel using Rayon's and logging is done via env_logger; to see permission changes occuring, set the environment variable RUST_LOG=debug. No guarantees are made about the ordering of permission changes due to the nature of Rayon's work-stealing scheduler.

Commit count: 6

cargo fmt