[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dbmopen suddenly broken



on 2/9/2000 4:45 PM, Tit Petric at black@vegovc.s-sser.lj.edus.si wrote:

>> -rwxrwxrwx   1 brain    brain      188416 Feb  8 21:55 Brain-are.db*
>> -rwxrwxrwx   1 brain    brain       20480 Feb  8 21:56 Brain-ignore.db*
>> -rwxrwxrwx   1 brain    brain     1449984 Feb  8 21:55 Brain-is.db*
>> -rwxrwxrwx   1 brain    brain       20480 Feb  6 22:48 Brain-karma.db*
>> -rwxrwxrwx   1 brain    brain      122880 Feb  8 21:56 Brain-seen.db*
> 
> migh it be that dbmopen requests filemode 744 (or is it 644?) .. well
> try chmod a-x *.db ..

That wasn't it.  I tried it and it didn't work.  I also noticed that if I rm
the database files and let infobot create them from scratch, they have the
following permissions:

[brain@brainsbox infobot]$ ls -al
total 30891
drwxrwxr-x   7 brain    brain        1024 Feb  9 20:20 ./
drwx------  21 brain    brain        1024 Feb  9 19:50 ../
-rw-r--r--   1 brain    brain        4096 Feb  9 20:20 Brain-are.db
-rw-r-xr-x   1 brain    brain        4096 Feb  9 20:20 Brain-ignore.db*
-rw-r-xr-x   1 brain    brain    15740928 Feb  9 21:21 Brain-is.db*
-rw-r-xr-x   1 brain    brain    15740928 Feb  9 20:20 Brain-is.db.backup*
-rw-r--r--   1 brain    brain        4096 Feb  9 20:20 Brain-karma.db
-rw-r--r--   1 brain    brain        4096 Feb  9 20:20 Brain-seen.db
drwxr-xr-x   2 brain    brain        1024 Feb  6 22:48 doc/
drwxr-xr-x   2 brain    brain        1024 Feb  9 20:19 factpacks/
drwxr-xr-x   2 brain    brain        1024 Feb  9 20:05 files/
-rwx---r--   1 brain    brain        2044 Feb  7 00:03 infobot*
drwxr-xr-x   2 brain    brain        1024 Feb  7 05:58 scripts/
drwxr-xr-x   3 brain    brain        1024 Feb  8 21:54 src/

What's up with this?