Re: git: 39e8c2a29a86 - main - cleanvar: Be more careful when cleaning up /var.
- In reply to: Xin Li : "Re: git: 39e8c2a29a86 - main - cleanvar: Be more careful when cleaning up /var."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Feb 2023 08:16:02 UTC
On 2023-02-27 22:14:04, Xin Li wrote: >On 2023-02-27 3:51 PM, Piotr P. Stefaniak wrote: >> Do we want to assume that /var/run is never a symlink? If not, we >> probably want to use find -xH here. > >No, I don't think it's safe to follow symlinks. I'd like to stress that my suggestion was to add -H, not -L. >If it's desirable to follow /var/run itself, perhaps this should be >changed to "/var/run/". It seems to me that that would effectively do the same, at least in this case. Piotr