Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move socket file out of $HOME directory tree #54

Open
timor opened this issue Sep 5, 2018 · 6 comments
Open

Move socket file out of $HOME directory tree #54

timor opened this issue Sep 5, 2018 · 6 comments

Comments

@timor
Copy link

timor commented Sep 5, 2018

On systems where you cannot create socket files in the home directories, nautilus-dropbox currently does not work correctly. This is e.g. a common issue with some network file systems. Specifically, it fails to create the command_socket file here: https://github.com/dropbox/nautilus-dropbox/blob/master/dropbox.in#L667

As mentioned in #5, it would be good if one of the XDG locations (probably $XDG_RUNTIME_DIR) could be used for that.

@nipunn1313
Copy link
Contributor

Hi - thanks for the report.

Unfortunately, we don't really support Dropbox functioning in network filesystems (see https://www.dropbox.com/help/desktop-web/system-requirements).
Is this an issue that comes up on one of Dropbox's supported configurations?

The XDG solution does sound like it would sidestep this problem.

@timor
Copy link
Author

timor commented Sep 12, 2018

The requirements specify that the Dropbox folder must be on an ext4 file system, and does (rightfully) not specify which file system the user's home directory must have. I already moved the Dropbox folder to a non-network drive, so yes, I consider that a configuration which is claimed to be supported.

One could rather argue that the current Dropbox solution sidesteps the freedesktop specification, as I am pretty sure that the supported linux distros follow that specification.

@nipunn1313
Copy link
Contributor

Hi - thanks for clarifying. My mistake. You are right - it's the file system of the Dropbox folder that fits in the requirements.

Yep, this does sound like an issue that would be solved by #5

Dropbox stores some information within ~/.dropbox and unfortunately it would be a very challenging change to move all of it to use the XDG specification (#5). There's a lot of stuff that depends on the .dropbox location.

It might be more viable to just move the command_socket in the presence of the XDG environment variable. That fix would be much more targeted. Would that solve your immediate concern?

@timor
Copy link
Author

timor commented Sep 24, 2018

Yes.

@timor
Copy link
Author

timor commented Nov 16, 2018

Is there any update on this?

@nipunn1313
Copy link
Contributor

Unfortunately no update as of now. Will keep you posted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants