Skip to main content

Change files and directories permisions and owner recursivily from current directory

Project description

What is RecPermissions

It’s a script to change permissions and owner recursivily from current directory. It can delete empty directories when necessary.

Usage

Here you have a console video example:

![English howto](https://raw.githubusercontent.com/Turulomio/recpermissions/master/doc/ttyrec/recpermissions_howto_en.gif)

Basic Example

This command will change user and group to current user and to current user main group. Files will have rw-r–r– permisions and directories rwxr-xr-x permisions. If the script finds empty dirs it will NOT remove them:

recpermissions /home/user/

Full Example

This command will change user and group to root user and group. Files will have rw-r—– permisions and directories rwxr-x— permisions. If the script finds empty dirs it will remove them:

recpermissions –user root –group root –files 640 –directories 750 –remove_emptydirs /home/user/

License

GPL-3

Dependencies

Changelog

1.0.0
  • Version fully operational

  • Added howto video in English and Spanish

  • Man pages and spanish translation have been improved

  • Added summary and added io error exception catching

0.2.1
  • Solved critical bug. Directory now is set tu absolut_path parameter

0.2.0
  • Added absolute path parameter to avoid errors and wrong changes

0.1.1
  • Solved bug in current path directory

0.1.0
  • Creating infrastructure

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recpermissions-1.0.0.tar.gz (298.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page