https://github.com/benapetr/take
Utility which allow you to take ownership of files (similar to sudo)
https://github.com/benapetr/take
Last synced: 10 months ago
JSON representation
Utility which allow you to take ownership of files (similar to sudo)
- Host: GitHub
- URL: https://github.com/benapetr/take
- Owner: benapetr
- Created: 2013-06-22T09:47:30.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-24T07:49:40.000Z (about 13 years ago)
- Last Synced: 2025-10-09T15:40:02.194Z (10 months ago)
- Language: C++
- Size: 234 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
take
====
Utility which allow you to take ownership of files (similar to sudo).
Take allows you to overtake ownership of all files or folders inside
of folder which you own.
For example, if there is a folder owned by user root in your own home,
you can execute
take -gr folder
in order to overtake owner and group for all files recursively
Configuration
=============
There is a file src/Preferences.cpp that contains some static configuration,
which can be changed before you build it.
bool Preferences::StrictGroup = false;
bool Preferences::StrictDevice = false;
bool Preferences::StrictHL = true;
StrictGroup will make a tool require the file group match the user's primary group
StrictDevice will require all subfiles during recursive mode to be on same filesystem
StrictHL will not overtake any file with more than 1 hardlink