Am 06.04.2012 22:57, schrieb Sean Darcy: > But moved test-fax.cmd to /usr/local/bin, and changed it to: > > #!/bin/sh > cat - > /home/sendfax/fax/output > > Now it seems it can execute the script, but can't write to output! > > 4EB89AE0DF7: to=<sendfax@[10.10.11.180]>, relay=local, delay=4761, > delays=4761/0.03/0/0.07, dsn=4.3.0, status=SOFTBOUNCE (Command died > with status 1: "/usr/local/bin/test-fax.cmd". Command output: > /usr/local/bin/test-fax.cmd: line 2: /home/sendfax/fax/output: > Permission denied ) > > but: > > ls -l /home/sendfax/fax/output > -rwxrwxrwx 1 sendfax sendfax 0 Apr 6 15:37 /home/sendfax/fax/output > > ls -l /home/sendfax > total 8 > drwxrwxrwx 2 sendfax postfix 4096 Apr 6 15:37 fax > > Then created folder /opt/sendfax with 777, and sent the file to > /opt/sendfax/output. > > That worked. > But it doesn't make any sense
PLEASE do not reply offlist it makes sense in the form that services usually not writing under /home - maybe SELinux or something like this is between
signature.asc
Description: OpenPGP digital signature