no write permissions
Trevor Cordes
tcordes@home.com
Wed Mar 28 22:58:15 2001
On 28 Mar, Anonymous wrote:
> Trevor Cordes [2001-03-27]:
>>
>> gpg -ea -z9 -r'Web Site Name' --always-trust --lock-never --batch
>> --no-random-seed-file
>
> Try the following:
> gpg -ea -z9 -r'Web Site Name' --always-trust --lock-never --batch
> --no-random-seed-file ----trusted-key=Web_Site_Name_s_long_ID
>
> where Web_Site_Name_s_long_ID is the 5th field of the last row produced by
> gpg --list-keys --with-colons 'Web Site Name'
I thought about that option, but I didn't know how to get the "long
ID". Thanks!
But I tried it now and it STILL tries to write to trustdb :-(
Here's my command line:
% su - nobody
% gpg -ea -z9 -r'WebSiteName' --always-trust --lock-never --batch
--no-random-seed-file --trusted-key=705D5C462FC49FE7
gpg: Warning: using insecure memory!
gpg: fatal: /work/who/web/.gpg/trustdb.gpg: can't open: Permission denied
% ls -al /work/who/web/.gpg
total 28
drwxr-xr-x 2 trevor trevor 4096 Mar 28 14:51 .
drwxrwxrwx 15 trevor trevor 8192 Mar 27 23:01 ..
-rw-r--r-- 1 trevor trevor 869 Mar 27 13:37 pubring.gpg
-rw-r--r-- 1 trevor trevor 0 Mar 27 13:35 pubring.gpg~
-rw-r--r-- 1 trevor trevor 600 Mar 27 13:37 random_seed
-rw-r--r-- 1 trevor trevor 1091 Mar 27 13:37 secring.gpg
-rw-r--r-- 1 trevor trevor 2560 Mar 27 14:06 trustdb.gpg
Obviously everything works peachy if I execute this as trevor. But my
web server will eventually run this as apache:apache, so it has to work
for other (non)users.
Please help!