Re: [fossil-users] Bug report: fossil clean follows symlinks

2017-01-31 Thread Joe Mistachkin

Roy Keene wrote:
>
>   Running "fossil clean -x -v" appears to follow symlinks, which 
> means it will go delete data outside of your repository path -- 
> recursively.
> 

I've figured out the issue.  Can you confirm that the "noSymlinks"
branch corrects the issue you were seeing?

--
Joe Mistachkin @ https://urn.to/r/mistachkin

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


Re: [fossil-users] Bug report: fossil clean follows symlinks

2017-01-28 Thread Joe Mistachkin

Roy Keene wrote:
>
> Running "fossil clean -x -v" appears to follow symlinks, which 
> means it will go delete data outside of your repository path -- 
> recursively.
>

Out of curiosity, why are you using the "-x" option?

--
Joe Mistachkin @ https://urn.to/r/mistachkin

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


[fossil-users] Bug report: fossil clean follows symlinks

2017-01-27 Thread Roy Keene

All,

	Running "fossil clean -x -v" appears to follow symlinks, which 
means it will go delete data outside of your repository path -- 
recursively.


Example:
$ mkdir /tmp/a
$ touch /tmp/a/one
$ touch /tmp/a/two
$ touch /tmp/a/three
$ ln -s /tmp/a .
$ fossil clean -x -v
Removed unmanaged file: a/one
Removed unmanaged file: a/three
Removed unmanaged file: a/two
Could not remove directory: a
$

Now imagine that symlink went to "/etc" or "/home" or "/"... :-(

Thanks,
Roy Keene
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users