Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 19272
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.47
Fixed in: (no value)



Subject: cache: opts: directory_umask interpreted as decimal
The docs give the following example: # Use the SizeAwareFileCache. Place it under /var/tmp instead of # the default (/tmp), use a custom umask, and limit the cache size to # 1MB cache: class: Cache::SizeAwareFileCache opts: max_size: 1000000 cache_root: /var/tmp/svn-web-cache directory_umask: 077 But if that's used you wind up with drw-rw--w- 2 www-data www-data 4096 2006-05-15 11:16 svn-web-cache Which is 0115. The umask is being interpreted as a decimal number. I had to do directory_umask: 63 to get the proper effect. This is with Cache::Cache 1.04, the latest version. I do not know if the fault is Cache::Cache or SVN::Web.
Thanks for the report. Fixed in http://jc.ngo.org.uk/svnweb/jc/revision?rev=892, and will be in 0.48. N