[ewiki] auth_perm_unix: new pages access

Hi!

Having mostly had admin rights (ring level 0) lately, I ran into a problem 
when just having user rights (ring level 2):

my settings:

* define("EWIKI_PROTECTED_MODE", 1);    # disable funcs + require auth
* using auth_perm_unix
* define("EWIKI_PERM_UNIX_UMASK", 0002); # default rights for pages
* define("EWIKI_PERM_UNIX_SHAREHOLDERS", 1); # group members may revoke rights
* ewiki_config["perm_rights_actions"] = array( ... "edit" => 2, ...); #default
* define("EWIKI_PERM_USERSET_FREE", 1); #anyone can set initial owner
* define("EWIKI_AUTO_LOGIN", 1); # ewiki_page() automatically requests for 
(re-)presenting the login <form> on startup

When I (user, ring level=2) put a link to a new page onto a page owned by me, 
also giving RWX to members of a group I am member of, I cannot follow the 
link (" You are not authorized to access this page.").

When I check it being admin (ring level=0) the new page has access rights 
according to EWIKI_PERM_UNIX_UMASK (i.e. 0002), but neither the USER is set 
to the owner of the page linking it nor is a group specified that has RWX 
rights. 

Is there anything like inheritance from one page to a new one in the code, or 
how is it meant to work? Or am I missing sth obvious? 

Inheriting as described above would seem to me the way to go.

Greetings, Timm


Other related posts: