Page 1 of 1

[SOLVED] kfilebox Dropbox permissions error

PostPosted: Jun 13th, '14, 10:14
by pedro
Hi all.

I'm new to mageia(4) and trying to get Dropbox up and running following this wikipost:
https://wiki.mageia.org/en/Dropbox

Kfilebox installs and gets the deamon. In a dialog i chose to use a gtk gui to komplete the install but nothing happend. Kfilebox seems to have installed anyway and icon showes in the tray.
The icon says: Deamon isn't running.

Next step is to connect the computer to the account:
"Open a terminal (as a common user) and go to the following hidden folder on your home directory: /home/user/.dropbox-dist then type: ./dropbox
A message will appear: "This machine is not connected with dropbox" and there will be a link at the end of the line to connect with the Dropbox site. Click on that link, Firefox will start and will open a "Dropbox" tab. Enter your Dropbox account password to initiate synchronization."

This is what I get:
./dropbox
Couldn't start Dropbox.
This is usually because of a permissions error. Storing your home folder on a network share can also cause an error.

Get more help at https://www.dropbox.com/c/help/permissions_error

Please contact Dropbox support with the following info for help:

/tmp/dropbox_errorawnoeh.txt

How to proceed?

Re: kfilebox Dropbox permissions error

PostPosted: Jun 13th, '14, 12:11
by pedro
Tried the following from the Dropbox help with no luck.
https://www.dropbox.com/help/72/en

"For our advanced users

If unlinking and relinking your account doesn't solve the issue, your settings may be protected or inaccessible due to a permissions problem. If this is the case, you can remove your settings by hand using an administrative account. Here's how:
Linux On Linux

Quit Dropbox by right-clicking on the Dropbox menu from the menu bar and selecting Quit
Open a terminal and copy and paste the following line into the terminal (exactly as written below):

sudo chown "$USER" "$HOME"
sudo chown -R "$USER" ~/Dropbox ~/.dropbox ~/.dropbox-master
sudo chattr -R -i ~/Dropbox
sudo chmod -R u+rw ~/Dropbox ~/.dropbox ~/.dropbox-master


If your Dropbox folder is not in ~/Dropbox make sure you modify all the references above for the correct location.
Restart Dropbox from the Applications > Internet menu"

Re: kfilebox Dropbox permissions error

PostPosted: Jun 13th, '14, 14:15
by pedro
Here is what i did.

Quitted kfilebox

Removed /home/user/.dropbox-dist direktory

From this page: "https://www.dropbox.com/install" I used this command as anormal user:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
This installs the deamon and creates the direktory "/home/user/.dropbox-dist"

After I did this the command "./dropbox" from within the directory "/home/user/.dropbox-dist" made the tray icon turn green for a moment before it returned to to its "Deamon isn't running" state. Retryed a couple of times with no luck.

Then I rebooted my machine and after logging in the Dropbox dialog was there and I could connect my computer to my droppbox account. Now there are two icons in the tray, the kfilebox and the dropbox one.

After syncing my files I rebooted once more just to be sure, and all working fine now :)