I have been a UNIX user for a long time, and in that time I have been looking for a program to set/reset all the file permissions of a complex directory hierarchy (my home) according to a configuration file of rules.
That is not the simple find-xargs-chmod rule but a program (shell/perl/c) that reads a configuration file that defines the file permissions over my whole home, and keeps them in order.
For example the top level directory of my home is accessable and readable.
This allows other users to grab and used scripts i have written (and they do), the web server to access my public_html directory. But it also means most of my other files must be kept 'closed' to others. Especially 'dot' files.
More importantly it only changes a file permissions if those permissions are wrong, so that the file does not get incrementally backed up all the time.
I have a 'kludge' script solution I have used for years, and it works well, but the exceptions to the script is a pain, and I am sure others have also had this problem. As such I want to see what is out there!
Googling only ever seems to find 'novice' reset individual file, or whole directory type solutions. Never 'set by config' solutions.
Does anyone out there know such solutions?
Quote:
Always secure your files, you never know who is lurking about.
-- Rick Cook, "The Wizardry Compiled"