Skip to content

Script to change permissions and owner recursivily from current directory

License

Notifications You must be signed in to change notification settings

turulomio/recpermissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is RecPermissions?

It's a script to change Linux permissions and ownership in one step. It can delete empty directories when necessary.

This script doesn't work on Windows.

Usage

Here you have a console video example:

English howto

Once installed, you can see man documentation with

man recpermissions

Links

Doxygen documentation: http://turulomio.users.sourceforge.net/doxygen/recpermissions/

Pypi web page: https://pypi.org/project/recpermissions/

Gentoo ebuild If you use Gentoo you can find a ebuild in https://github.com/Turulomio/myportage/tree/master/app-admin/recpermissions

Dependencies

Changelog

1.10.0

  • Now user is informed when he tries to change ownership with uid or gid

1.9.0

  • Solved bug when using Default None arguments.

1.8.0

  • Improved colorized output.

1.7.0

  • Fixed critical bug with symlinks

1.6.0

  • Octal permissions string is now validated in --files and --directories
  • #15 Absoute path directory given as a paramater changes its permissios too

1.5.0

  • Added frech translation

1.4.0

  • Improved man pages
  • If recpermissions is executed on Windows, just exists script, instead of crash.
  • mangenerator is not needed for setup.py main script

1.3.0

  • If file owner isn't in /etc/passwd now remains its uid, and desn't crash
  • Code of conduct is added to the project
  • Added localized integers in summary
  • Added files to french translation
  • Added --only parameter funcionality to allow change ownership and permissions of one file or directory

1.2.0

  • Due to a boolean logic error, some changes didn't took place

1.1.0

  • Added 30 seconds to reload video in howto.py
  • Nothing is changed if --user --group --files or --directories is not set.

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