Question about linked directory behavior

Jeffrey Cunningham jeffrey.k.cunningham at boeing.com
Tue Mar 20 21:17:05 GMT 2007


I just ran into behavior that surprised me and wanted to double check 
that it is as expected.

Suppose I have a work directory ~/work/
And I have directories visible to apache in ~/public_html/
I host a bzr repository for work by making a soft link in public_html:

~/public_html/work -> ~/work

This works. But if another user on the same machine branches the repository:

bzr branch http://machine.com/~user1/work

It creates the directory work and populates it with soft links back to 
*my* (user1) actual work directory. User2 won't be able to do any work 
because he won't have write permissions in my directory. It isn't 
creating a local copy.

Is this what is supposed to happen?

Regards,

-Jeff



More information about the bazaar mailing list