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.


Here you have a console video example:

![English howto](

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/





  • 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
  • Solved critical bug. Directory now is set tu absolut_path parameter
  • Added absolute path parameter to avoid errors and wrong changes
  • Solved bug in current path directory
  • 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.

Files for recpermissions, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size recpermissions-1.0.0.tar.gz (298.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page