You are not logged in.

#1 2015-12-13 04:13:01

allevil669
Member
Registered: 2013-05-23
Posts: 30

[SOLVED] Dropdox asking for root permissions...

Hi all. I sure hope that this is the correct place to put this. I know this issue is making me feel like a newbie again.

Anyway...

I have the dropbox-experimental package installed from the AUR, and drobox-cli installed fromt he AUR as well. Well, after starting, and enabling Dropbox via a SystemD user service, occasionally I'll get a prompt that a process needs root permissions.

Editing dropbox.service to get system try icon:

systemctl --user edit dropbox.service
[Service]
Environment=DISPLAY=:0

Starting and enabling dropbox.service:

systemctl --user start dropbox.service
systemctl --user enable dropbox.service

Ok, this all seems to be working. My files do indeed sync with my Dropbox account. After some time, it appears to be almost random, a request for root permissions pops up (using kdesu)

Content of the popup:
Command: /bin/sh /tmp/tmpn3A4ED (note: the name of the file changes with each popup)

So, not knowing what this is, I looked at the contents of the file...
Contents of the file:

#!/bin/bash
chown -R 1000 "/home/<me>/.dropbox/instance1"
chmod -R u+rwX "/home/<me>/.dropbox/instance1"
kill -s USR2 9969

The contents of PID 9969:

/home/<me>/.drop-dist/dropbox-lnx.x86_x64-3.13.43/dropbox /newerversion

So, what I'm getting to is: I haven't a clue why this wants root to do it's job. If anyone has any suggestions as to how to prevent this from happening in the future, I'd really appreciate the help.

Thanks in advance.

Last edited by allevil669 (2015-12-13 22:43:31)

Offline

#2 2015-12-13 07:03:35

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Dropdox asking for root permissions...

Dunno. It looks like it wants root to update itself.

I don't think I would ever get that problem, because I don't want Dropbox installing a local updated copy of itself -- that's what my package manager is for. roll <smack/>

https://wiki.archlinux.org/index.php/Dr … uto_Update


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2015-12-13 08:36:31

allevil669
Member
Registered: 2013-05-23
Posts: 30

Re: [SOLVED] Dropdox asking for root permissions...

Eschwartz wrote:

Dunno. It looks like it wants root to update itself.

I don't think I would ever get that problem, because I don't want Dropbox installing a local updated copy of itself -- that's what my package manager is for. roll <smack/>

https://wiki.archlinux.org/index.php/Dr … uto_Update

I have enacted the "stop auto-update" hack. I'll report back tomorrow with an update.

Offline

#4 2015-12-13 22:42:54

allevil669
Member
Registered: 2013-05-23
Posts: 30

Re: [SOLVED] Dropdox asking for root permissions...

Looks like that did the trick. I haven't had a recurrence of the issue since enacting the "stop auto-update" hack. Marking as solved.

Offline

Board footer

Powered by FluxBB