• Touching $HOME in postrm

    From Alec Leamas@21:1/5 to All on Tue May 4 04:50:01 2021
    Dear list,

    Touching files under $HOME in a postrm script is obviously a bad idea.
    However, a colluegue insists in trying to make me do this.

    Just to resolve this issue: is the the limitations on what files which
    can be touched by a packaging script documented somewhere?

    I have been skimming through the Policy Manual, but no luck. Did I miss something? Is it somewhere else? Or is it just an undocumented "good
    judgment" thing?

    Any clue, out there?

    Cheers!
    --alec

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geert Stappers@21:1/5 to Alec Leamas on Tue May 4 09:00:02 2021
    On Tue, May 04, 2021 at 04:46:42AM +0200, Alec Leamas wrote:
    Dear list,

    Touching files under $HOME in a postrm script is obviously a bad idea. However, a colluegue insists in trying to make me do this.

    Give that person a sharp knife and training to use it.
    Include lessons to avoid self inflicted wounds.


    Just to resolve this issue: is the the limitations on what files which
    can be touched by a packaging script documented somewhere?

    The limits are simple: Only files the package provides.
    Meaning: Don't touch files from other origin.


    I have been skimming through the Policy Manual, but no luck. Did I miss something? Is it somewhere else? Or is it just an undocumented "good judgment" thing?

    Any clue, out there?

    Describe the original goal, tell what you want to achieve.
    Why the need for touching files under $HOME.


    Groeten
    Geert Stappers
    --
    Silence is hard to parse

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rahmatullin@21:1/5 to Alec Leamas on Tue May 4 08:40:01 2021
    On Tue, May 04, 2021 at 04:46:42AM +0200, Alec Leamas wrote:
    Touching files under $HOME in a postrm script is obviously a bad idea. However, a colluegue insists in trying to make me do this.
    Under which of the home dirs? Normally it just doesn't make sense to find
    all real users and then find and access their homedirs, especially taking
    into account various complex setups.

    Just to resolve this issue: is the the limitations on what files which
    can be touched by a packaging script documented somewhere?

    I have been skimming through the Policy Manual, but no luck. Did I miss something? Is it somewhere else? Or is it just an undocumented "good judgment" thing?
    I think it's the latter, together with what I said above.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmCQ7BctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh cp0P/Am5I0/xSC9+u+gLW2kdF+3xGKQ7FrIf5kFZUeVZtnpvJcHr+itUDX4KGw3f E63j4KN/aGkSE9D+Q/ZpVphz8y5oj+LnF1KNaBGWTr0QzycIJKC5GHt4JkOsBUMr /GRkFyV0Rf9LC3TDx4BftJxUCWwyzt3Lt5/MmOp3C8edQr1rYJ9JKtfCK81XRar7 SJu6a5nLmbL/SZgOTayZ/11K0nJIDrux2ioUj+4VeAiqxuhTDewGnK4Lx6ZZXACv IckRlBPqVPtfAxiWKxLMnrK3AvQYcYqkSge5TVEf29rGxQ3g0BOJBGHu8hbUdlZH 5dn4rADtcEyGC2gacvoB5cxaq30xpA8qKJf8iPM4nYI4hhuVfxHSwFI/Mv15J0wc Baf3ot4oZ4qNn4VLyO/UnF4GTdzDLBsgy0speNjUICn4fIRq1jigwZAVuRlCQwO0 OXJk7o+iUXH9FSMrG1ojB0LU1OUBYZKEvldQ07qJ2ySS9QnrbQ6fJA9cXwv6tuE9 Tb4UoTApCnGl7fVm8v/2lP8Y/27Ahrhu+FgrXT76VZry5srNeUS2wuk756ZgCTW4 YmuAu5PjUhvHyUnscOCRDySzyf+DZWsWGl+NzGKiY2L3t4wkn5NS1t0RR8dnPvAd 381lzWkuriPUrrKhXN8Tff5JPwKVDVfPpmZtvxDYS8tjrkj9
    =lfl6
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alec Leamas@21:1/5 to Andrey Rahmatullin on Wed May 5 16:40:01 2021
    Hi,

    Thanks for taking time to reply to this strange issue...


    On 04/05/2021 08:39, Andrey Rahmatullin wrote:
    On Tue, May 04, 2021 at 04:46:42AM +0200, Alec Leamas wrote:
    Touching files under $HOME in a postrm script is obviously a bad idea.
    However, a colluegue insists in trying to make me do this.

    Under which of the home dirs? Normally it just doesn't make sense to find
    all real users and then find and access their homedirs, especially taking into account various complex setups.


    Just to resolve this issue: is the the limitations on what files which
    can be touched by a packaging script documented somewhere?

    I have been skimming through the Policy Manual, but no luck. Did I miss
    something? Is it somewhere else? Or is it just an undocumented "good
    judgment" thing?

    I think it's the latter, together with what I said above.


    On 04/05/2021 08:54, Geert Stappers wrote:

    Describe the original goal, tell what you want to achieve.
    Why the need for touching files under $HOME.


    It's certainly not what *I* want to achieve...

    Anyway, your replies are most useful to sort out this situation. I will
    invite my colleague pursue his arguments here, should he feel he needs
    more input.


    Again: thanks for your replies!

    Cheers!
    --alec

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)