Greetings, Achim Gratz!

> Achim Gratz writes:
>> Does /var/cache/man exist and are the permissions sane?

Yes, and perms are mostly irrelevant, cause I install from elevated prompt.

/var/cache/man
# icacls . | iconv -f CP866
. daemon2\anrdaemon:(F)
  daemon2\None:(RX)
  Everyone:(RX)
  CREATOR-OWNER:(OI)(CI)(IO)(F)
  CREATOR-GROUP:(OI)(CI)(IO)(RX)
  Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files

/var/cache/man
# acl .
# file: .
# owner: anrdaemon
# group: None
user::rwx
group::r-x
other::r-x
default:user::rwx
default:group::r-x
default:other::r-x

>> I guess I need
>> to make sure this gets created when installing the package, will note
>> that for the next release.

> I checked and it is already packaged.  So, what are the
> permissions/contents?  If it exists, move it away and install man-db
> again.

Turned out, I can easily reproduce it by

> # rm -rf /var/cache/man && mkdir /var/cache/man && touch 
> /var/cache/man/index.db && mandb
> Purging old database entries in /usr/share/man...
> mandb: can't update index cache /var/cache/man/2070: No such file or directory
> Processing manual pages under /usr/share/man...
> mandb: can't create index cache /var/cache/man/2070: Resource temporarily 
> unavailable

It creates CACHEDIR.TAG and cat1 cat3 cat5 cat6 cat7 cat8 subdirectories but
that's about it. Nothing else is saved and the index.db is unmodified.


-- 
With best regards,
Andrey Repin
Tuesday, February 8, 2022 10:48:10

Sorry for my terrible english...


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to