[plug] Log file permissions - wuftpd
Adam Davin
bladebadger at westnet.com.au
Sun Dec 5 22:19:50 WST 2004
Good Evening all,
I am currently writing a program (in java) to monitor wu-ftpd's xferlog
file. At the moment I am running the program as root to be able to
access this file, however I would rather be running it as a normal user
if possible.
The program monitors the log file for certain file uploads, and then
when it gets a file that matches, does things to it. Because its a Java
program (ie runs under the VM) to set it with suid would mean all java
programs would run with root privileges.
I can't find any documentation that allows me to tell wu-ftpd to set the
xferlog with a particular GID (other than root) so that I can create a
group specifically for my program to allow it access (only needs read
access).
Any thoughts would be greatly appreciated. Maybe I have overlooked
something.
Thanks again,
Adam.
More information about the plug
mailing list