caudium-devel AT caudium.net
Caudium Developer mailing list.

Re: [caudium-devel] Disk cache and umask


chronological Thread 
  • From: "H. William Welliver III" <hww3 AT riverweb.com>
  • To: caudium-devel AT caudium.net
  • Subject: Re: [caudium-devel] Disk cache and umask
  • Date: Mon, 26 Nov 2007 16:08:00 -0500 (EST)

I think the solution depends on your group and permission set up (if the group ownership isn't www, then changing the umask probably won't help).

A better solution might be to get a privs object when doing file io in the cache.

Bill

While not running caudium as root, ( Global Variables -> Change uid and
gid -> Change uid and gid to), i have quite a lot of errors of this
kind:
----8<----8<----8<----8<----
Couldn't open file
/sw/var/cache/caudium1.4/cache/8e8bee888835d5a3dbf922f3a77622
1b: Permission denied

Replacing that with 'System.umask(002);' obviously does the trick, but
i'm not sure if that's the right side of the problem, nor if that should
do it in the CVS.

Thougths?



Archive powered by MhonArc 2.6.16.

§