Jason Staloff on Tue, 26 Jun 2001 23:00:08 -0400 |
I just wrote a little perl script to keep an eye on some rarely-used mail drops. It uses stat() to decide whether the spool file has been modified in the last X minutes. Works fine on my own Linux box but not on a couple other UNIX machines I have accounts on. These machines don't let me execute the stat command from the shell, and the stat call fails in my script. Is it common practice to limit who can stat a file? Is it dangerous to permit a standard user access to the stat call on my own system? Is there a better way for me to test for changed mail drops? Jason ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|