Hi, (brief notes from tablet...)
in my experience as a www admin, writing files is often problematic because they may (depending on the setup/environment ) have a different owning user than the user who actually admins the content. I have had systems where i had no root and the www user writes cache files and such, and my account could not delete them. That said, i don't think that would be a problem for cgi fossil, and certainly not when running it in server mode under your own account. On May 6, 2013 4:33 PM, "Jan Nijtmans" <[email protected]> wrote: > When versioned settings are present, I noted something strange in > the /setup_settings page. Submitting this page with whatever > value will give the following warnings: > > setting ignore-glob has both versioned and non-versioned values: using > versioned value from file .fossil-settings/ignore-glob (to silence > this warning, > either create an empty file named .fossil-settings/ignore-glob.no-warn > or > delete the non-versioned setting with "fossil unset ignore-glob") > (and the same for keep-glob) > > To reproduce, just do "fossil ui" in the current latest check-out > "fossil" repository and navigate "Admin" -> "Settings", click > "Apply Settings" and then click "Apply Settings" again. > > The reason is that, submitting this page, the settings are written to the > local configuration, so the warning is justified I can see two > possible solutions: > > 1) modify the setup_settings page such that the related input elements > are disabled when a versioned setting is present. > 2) modify db_set such that when a versioned setting is present the value > is written to the file in stead of the local configuration. > > 1) would be easiest to implement. 2) would mean that versioned > settings would be editable through the /setup_settings page if > they already exist, but you cannot remove versioned settings or > create new versioned settings. > > I don't really have a preference to either 1) or 2). Any suggestions? > > Regards, > Jan Nijtmans > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

