Mailinglisten-Archive |
hi,
wenn ich von php aus über die exec funktion
exec("./pgp -kv 2>&1", $output, $ec);
pgp aufrufe, dann sagt pgp, dass ein
mkdir(//.pgp) fehlschlägt,
so wie es aussieht will pgp im home verzeichnis
den unterordner .pgp anlegen, da aber apache ja kein
home verzeichnis hat ... ???
______________________________
mkdir (//.pgp) failed..
Pretty Good Privacy(tm) Version 6.5.8
(c) 1999 Network Associates Inc.
Export of this software may be restricted by the U.S. government.
No configuration file found.
Can't open key ring file '//.pgp/pubring.pkr'
Key ring file '' cannot be created.
Keyring add error.
For a usage summary, type: pgp -h
For more detailed help, consult the PGP User's Guide.
_________________
aber in der pgp.cfg stehen die werte drin, welche key ring
files er benutzen soll:
PubRing="/usr/local/httpd/bhspgp/pubring.pkr"
SecRing="/usr/local/httpd/bhspgp/secring.skr"
die pgp binary und die pgp.cfg befinden sich alle im selben
verzeichnis /usr/local/httpd/bhspgp/
wo liegt nun der fehler ?
brauche unbedingt hilfe :-))))
kiri
PS:
schumach_(at)_linux:~ > mkdir //.pgp
mkdir: Erzeugen des Verzeichnisses »//.pgp« nicht möglich: Keine
Berechtigung
schumach_(at)_linux:~ > su root
Kennwort:
root_(at)_linux:/home/schumach > mkdir //.pgp
root_(at)_linux:/home/schumach > cd //.pgp
root_(at)_linux://.pgp > dir
root_(at)_linux://.pgp > cd ..
root_(at)_linux:/ > dir
bin cdrom etc home lost+found opt root usr
boot dev floppy lib mnt proc sbin tmp var
root_(at)_linux:/ > chmod 777 //.pgp
root_(at)_linux:/ >
wo wird das verzeichnis angelegt ?????
hmm jetzt läuft auch pgp ohne den fehler ... aber das ist nicht der
sinn der sache :-(
ahh ls -al zeigt, dass .pgp im root angelegt wird .... aua ;-)
php::bar PHP Wiki - Listenarchive