[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#810697: fwupdate: unowned files after purge (policy 6.8, 10.8): /var/cache/fwupdate/done



Le 11/01/2016 23:07, Mario Limonciello a écrit :
> Thanks, Sure thing.  I've staged something in git to clean these up.
> 
> The directory in /boot/efi isn't owned because it's possible that the
> /boot/efi partition isn't mounted for some reason.  The contents of
> /boot/efi/EFI/fw are written only by fwupdate as far as I'm aware.  I'll
> clean up that directory during purge too.  If there ends up being a
> reason this is a bad idea, please report it.

Remove all directories you created with something like
rmdir --parents --ignore-fail-on-non-empty /boot/efi/EFI/fw
or
( cd /boot/efi && rmdir --parents --ignore-fail-on-non-empty EFI/fw )
if you do not create /boot/efi

So, if a user put another file in theses directories, the file
and its directory will be kept.

  Regards,
    Vincent

> Thanks,

-- 
Vincent Danjean       GPG key ID 0xD17897FA         vdanjean@debian.org
GPG key fingerprint: 621E 3509 654D D77C 43F5  CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main


Reply to: