0

My understanding of paths is that ~/.jungledisk/ means the path is relative to the current user. If that's true, if I installed this as root, where did it go?

Ben
  • 3,800
  • 18
  • 65
  • 96

3 Answers3

2

Probably the same, unless the installation special-cases root, in which case who knows.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84
2

I'm not sure: in case you install as root, that folder could be also created under /root, I mean, /root/.jungledisk, and its permission and owner would be unavailable for other users.

Anyway, when some program asks you to "make install" as root, it does knowing that the installation will copy binaries on folders that are only writable by root. But users will be able to use that utilities (read and execute them, not write/edit/delete them), so there should be no problem.

Don't know if I 've understood the problem, but there it goes :)

javipas
  • 1,332
  • 3
  • 23
  • 38
0

"~" is magically expanded to the actual home directory of the following user. You can find out what root's (or any user's) home directory like this:

echo ~root