Re: WELCOME to [email protected]

Jon Daley <[email protected]> Thu, 15 Dec 2005 10:50:40 -0500 (EST)
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
 	Are there archives available anywhere?

Since I don't see any, I will ask my question now.

I am on Debian, running the "testing" version of pure-ftpd (1.0.19) -7
I am having trouble with the UPLOADUID setting for pure-uploadscript.

It appears to work fine for some gids and not for others.  I am at a loss 
as to why this would be.

Is there anyway to turn on debugging?  I do not get any errors in any 
logs.

The script has 555 permissions.  It is a simple script:

#!/bin/sh
echo "$1 uploaded" > /tmp/asd
echo "$1 uploaded" | /usr/bin/mail -s "New upload : $1" jondaley

/tmp has world write permissions.  The file is not written and mail is not 
sent.

It works with a user who happens to be in the pureftpd.passwd, but I 
think that is probably a coincidence.  That user has a /bin/false shell.

It does not with my user account, which generally has more permissions 
than your average user.

Incidentally, it works if I use my uid but the gid of the user whose uid 
works fine as well.

---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]