it just bumps to a new version into the users home folder. This needs to be restricted.
It seems that there are no way to stop auto updating. https://forums.dropbox.com/topic.php?id=24046 However they don't do it for all new versions. https://forums.dropbox.com/topic.php?id=101972
A hack, but i just create an empty .dropbox-dist folder and remove all permissions from it.. works great so far.
Another issue with this: on hardened dropbox binary should be paxmarked, but while this auto-update dropbox tried to run newer version from /tmp/, which isn't paxmarked and thus crashes, which result in useless popup about "permission" error shown by dropbox. kern.alert: grsec: denied RWX mmap of <anonymous mapping> by /tmp/.dropbox-dist-new-GFMcIa/.dropbox-dist/dropbox[dropbox:11457] uid/euid:1000/1000 gid/egid:1000/1000, parent /opt/dropbox/dropbox[dropbox:11225] uid/euid:1000/1000 gid/egid:1000/1000
(In reply to Bombino from comment #2) > A hack, but i just create an empty .dropbox-dist folder and remove all > permissions from it.. works great so far. Doesn't work for me. Where exactly you've created this folder? I've tried it in ~/Dropbox/ and ~/. Dropbox is installed in /opt/dropbox/ and tries to auto-update by unpacking from ~/Dropbox/.dropbox.cache/dropbox-upgrade-2.4.11.tar.gz into /tmp/.dropbox-dist-new-RANDOMNAME/.dropbox-dist/.
(In reply to Alex Efros from comment #4) > (In reply to Bombino from comment #2) > > A hack, but i just create an empty .dropbox-dist folder and remove all > > permissions from it.. works great so far. > > Doesn't work for me. Where exactly you've created this folder? I've tried it > in ~/Dropbox/ and ~/. Dropbox is installed in /opt/dropbox/ and tries to > auto-update by unpacking from > ~/Dropbox/.dropbox.cache/dropbox-upgrade-2.4.11.tar.gz into > /tmp/.dropbox-dist-new-RANDOMNAME/.dropbox-dist/. Currently running 2.10.2 (~amd64), and the following prevents the auto-updater from kicking in, so far (otherwise it would auto-update to 2.10.27 upon starting) : rm -rf ~/.dropbox-dist install -dm0 ~/.dropbox-dist
(In reply to Gef from comment #5) > Currently running 2.10.2 (~amd64), and the following prevents the > auto-updater from kicking in, so far (otherwise it would auto-update to > 2.10.27 upon starting) : Doesn't work with 2.6.33 (amd64) - on start it says I'm using an old version and fail both to auto-update and to start.
(In reply to Alex Efros from comment #6) > (In reply to Gef from comment #5) > > Currently running 2.10.2 (~amd64), and the following prevents the > > auto-updater from kicking in, so far (otherwise it would auto-update to > > 2.10.27 upon starting) : > > Doesn't work with 2.6.33 (amd64) - on start it says I'm using an old version > and fail both to auto-update and to start. Same happens with 2.8.4 - looks like both 2.6.33 and 2.8.4 can be removed from portage because they didn't work anyway (after new install - currently installed works because they was auto-updated). 2.10.2 works ok and didn't auto-update after this trick with ~/.dropbox-dist - but I'm afraid it'll stop working soon like these 2.6.33 and 2.8.4 versions.
3.6.8 doesn't work anymore. And it fail to auto-update even if I remove ~/.dropbox-dist/ - probably because of bug 558378. Upgrade to 3.12.4 found in bug 566280 helps.
What do you guys think about a postinst einfo message telling users how to prevent autoupdate on each user account?
no objections after a year. Sounds good as workaround. Please do so.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8298bc3b32359c645aed5f948e837f3a9b4f479 commit e8298bc3b32359c645aed5f948e837f3a9b4f479 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2020-09-10 14:24:11 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2020-09-10 14:24:27 +0000 net-misc/dropbox: add information on blocking autoupdate Closes: https://bugs.gentoo.org/473888 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Ben Kohler <bkohler@gentoo.org> net-misc/dropbox/dropbox-104.4.175.ebuild | 8 ++++++++ net-misc/dropbox/dropbox-105.4.649.ebuild | 8 ++++++++ net-misc/dropbox/dropbox-105.4.651.ebuild | 8 ++++++++ 3 files changed, 24 insertions(+)