Le 2011-03-18 à 20:29, Nolan Darilek <no...@thewordnerd.info> a écrit :

> Thanks. It isn't that I couldn't figure out a convoluted solution 
> involving multiple users, groups and permissions. I just thought that 
> Fossil could gracefully degrade if it couldn't write to the home 
> directory, not enabling some functionality. After all, just about any 
> other VCS would let me clone or check out a project anywhere I could 
> write, so why not Fossil?
> 
> I appreciate the thought you put into this. I just think that Fossil 
> should be able to lose functionality if it can't write to $HOME instead 
> of failing outright.
> 
> 
> On 03/18/2011 06:45 PM, Ron Wilson wrote:
>> On Fri, Mar 18, 2011 at 7:05 PM, Nolan Darilek<no...@thewordnerd.info>  
>> wrote:
>>> These aren't pages. They're files from my source tree fed into a
>>> translation tool written in PHP. It pretty much has to work as I've
>>> described here.
>> 
>> Failing all else, you could copy the files (exclusive of the _FOSSIL_
>> file) from a working copy to /var/www/data (or whatever directory the
>> PHP scripts reside in).
>> 
>> Otherwise....
>> 
>> I assume you are not running "fossil open" in /var/www. For sake of
>> discussion, I will use /var/www/data as the working copy.
>> 
>> I will further assume that www-data's home directory is /var/www
>> 
>> To avoid Fossil writing into /var/www, maybe you could run Fossil as a
>> user with a different home directory.
>> 
>> For this example, I will use www-fossil as the user for Fossil and
>> /var/fossil as the home directory.
>> 
>>     su -u www-fossil -c 'cd /var/www/dat; fossil open 
>> /var/fossil/data.fossil'
>> 
>> Then Fossil will create the working copy in /var/www/data while
>> Fossil's "home file" will go in /var/fossil.
>> 
>> Then your cron job will be:
>> 
>>     su -u www-fossil -c 'cd /var/www/dat; fossil update'
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> 
> ______________________________

One thing I know of is that fossil store known repository for the fossil all 
command. E.g. fossil all rebuild , to rebuild all repo. It also store globals 
settings on home dir. What is shown as global on fossil settings command.

--
Martin
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to