GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gort818/permrs: A utility to save and restore your permissions in case you screw them up.

BranchesTags
Open more actions menu

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

permRS

Permission Restore

Utlity to save and restore unix permissions

Use permRS to created a backup of file permissions just in case you accidentally run chmod where you are not supposed to.


USAGE:
    permrs [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -r, --restore    Restore unix permissions
    -s, --save       Save unix permissions
    -V, --version    Prints version information

OPTIONS:
    -p, --path <path>    Set path to save permissions [Default: ~/]

Examples

  1. To Save all permissions starting from root

    sudo permrs -sp /

  2. To Save all permissions in your home folder

    permrs -sp ~/

  3. To save permisions in your working path

    permrs -sp ./

  4. To restore your permissions

    permrs -r

  5. If you ran permrs -s as root use restore as root.

    sudo permrs -r

Installation

Refer the AUR package.

Notes

permRS will automatically skip any directories or files you do not have access to as a regular user.

Run permRS as root if you want your permissions on all your directorties or files.

Building

Requirements: Rust, Cargo

git clone https://github.com/gort818/permrs

cd permrs

cargo build --release

Binary will be created in /permrs/target/release/

About

A utility to save and restore your permissions in case you screw them up.

Topics

clilinuxpermissionsrestorerustsave

Resources

Readme
GPL-3.0 license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.