On -10.01.-28163 20:59, Ben Johnson wrote:
I have ensured that the pipe script is, in fact, being executed as the vmail user, by inserting the following into my debug output:
CURRENT_USER=$(whoami) echo "$CURRENT_USER"
This outputs "vmail".
FWIW, if a problem with identities and permissions is still a possibility, you should have a look at primary and secondary groups (e.g., output of "id" command) as well. And maybe also the data reported by "umask", "secon --self", ...
Regards, J. Bern
*NEU* - NEC IT-Infrastruktur-Produkte im http://www.linworks-shop.de/: Server--Storage--Virtualisierung--Management SW--Passion for Performance Jochen Bern, Systemingenieur --- LINworks GmbH http://www.LINworks.de/ Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel