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

Bug#763707: the user "_apt" different uids on different machines vs. shared filesystems



Package: apt-doc
Version: 1.1~exp3
File: /usr/share/doc/apt-doc/offline.html

Regarding offline.html,
perhaps also mention there a simpler method:
simply listing your offline disks in /etc/fstab,
UUID=... /var/lib/apt/lists auto ...
UUID=... /var/cache/apt/archives ...

On big concern however is this recent change:

  * Make /var/lib/apt/lists and /var/cache/apt/archives owned
    by the new _apt user

Alas, _apt may have different uids on different machines!

So we must think of workarounds for our sneakernet.

Maybe a job at boot that chowns those two trees.

Maybe a mount(8) option that makes all the files owned by the certain
uid... depending if the filesystem is vfat, etc. But that is entire
filesystem, and might not be exactly those two directories.

And... what if the filesystem is "NFS mounted among several machines"
etc. etc.

This all didn't use to be a problem when it was all owned by root uid=0.

Also document this on the several apt man pages.


Reply to: