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

Always share folders using Tailscale taildrive #33

Open
Tracked by #59 ...
gbraad opened this issue Nov 4, 2024 · 3 comments
Open
Tracked by #59 ...

Always share folders using Tailscale taildrive #33

gbraad opened this issue Nov 4, 2024 · 3 comments
Assignees

Comments

@gbraad
Copy link
Collaborator

gbraad commented Nov 4, 2024

mkdir -p ~/Documents ~/Downloads ~/Projects
tailscale drive share documents ~/Documents
tailscale drive share downloads ~/Downloads
tailscale drive share projects ~/Projects

Shares are available on:

@gbraad
Copy link
Collaborator Author

gbraad commented Nov 4, 2024

The following can be used from a user:

$ sudo dnf install gvfs-fuse
$ gio mount dav://100.100.100.100:8080/spotsnel.org.github/wint14-devsys/projects
$ cd /run/user/1000/gvfs/ ...

Which will result in hard to remember locations:

$ mkdir -p ~/Mounts/wint14-devsys
$ ln -s /run/user/1000/gvfs/dav:host=100.100.100.100,port=8080,ssl=false,prefix=%2Fspotsnel.org.github%2Fwint14-devsys%2Fprojects ~/Mounts/wint14-devsys/projects

Note

This needs the container to run with
--device /dev/fuse --cap-add SYS_ADMIN
otherwise the container needs to run as --privileged


Alternatively, davfs2 can be used:

$ sudo dnf install davfs2
$ sudo mkdir -p /mnt/wint14-devsys/projects
$ sudo mount -t davfs http://100.100.100.100:8080/spotsnel.org.github/wint14-devsys/projects /mnt/wint14-devsys/projects

On Fedora there is another CLI tool called: cadaver which allows ftp-like downloads using mget, mput. This can be useful for environments where the use of fuse is not possible (as this relies on the access to /dev/fuse):

fuse: device not found, try 'modprobe fuse' first

@gbraad
Copy link
Collaborator Author

gbraad commented Nov 4, 2024

@gbraad
Copy link
Collaborator Author

gbraad commented Dec 26, 2024

Use davfs2 instead, as described in:

@gbraad gbraad mentioned this issue Jan 10, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant