I have been asked to write a program (I chose perl naturally) to go through a directory tree and learn the file permissions (octal) and ownership(user:group), then dump the knowledge to a file.
I haven't a clue where to begin or how to approach it. Thus I turn to your wisdom.
Don't do my work for me, but please kick me in the right direction. What would you advise for even approaching this task? opendir, modules, or something else?
In reply to Save permissions on a directory tree by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |