Skip to main content
16 votes

Shared folder between QEMU Windows guest and Linux host

In 2018 a simple way to share a folder between a Linux host & Windows virtual machine is to enable RDP in the Windows guest & connect to the vm with the Remmina Remote Desktop Client & ...
Stuart Cardall's user avatar
14 votes

Use virt-manager to share files between Linux host and Windows guest?

You can now use virtio-fs to achieve efficient sharing of a host-exported filesystem on a guest. It's efficient as it relies on shared memory between host and guest, rather than some networking-based ...
sxc731's user avatar
  • 461
12 votes

Use virt-manager to share files between Linux host and Windows guest?

For a quick and dirty copy, you can also use libguestfs. Example: virt-copy-in -a windows10.qcow2 /tmp/data.zip / This copies the file /tmp/data.zip from your host to the root C:\ directory in the ...
lru's user avatar
  • 121
4 votes

smbclient alternative for large files

Using curl I'm running smbclient version 4.9.4 trying to transfer a 97 MiB file from Arch Linux to Windows. Following the recommendation of user bsd, I called smbclient using --socket-options='...
Matthias Braun's user avatar
3 votes

Sharing files/data in Linux between local users, without them knowing each others passwords or having root privilegies

Why would you want to complicate with nc? Set up three shared directories with shared groups (you've only three users so that's three distinct groups: u1-u2, u2-u3, u1-u3). Perform the work in these ...
Chris Davies's user avatar
3 votes

How to easily share files through local network?

SAMBA has no more, or no less, security risk than any other app which can do what it does; Debian has a straightforward tutorial. Android clients for SAMBA abound in the Google Play store, and ...
K7AAY's user avatar
  • 3,936
3 votes

Use virt-manager to share files between Linux host and Windows guest?

A quick way to let a guest read (but not write to) a file or folder structure is to mount a folder as a cd-rom. This takes a few seconds, and works for both Windows and Linux guests. mkisofs -o cdrom....
freeB's user avatar
  • 131
3 votes

Use virt-manager to share files between Linux host and Windows guest?

now we can use spice tools. install spice-webdavd on windows guest update 2022 now virtiofs based local file sharing is preferred over DAV based approach or other network based approach. vfio has much ...
Wang's user avatar
  • 1,435
3 votes

smbclient alternative for large files

I had the same issue that download always failed, I was able to resolve the "parallel_read returned NT_STATUS_IO_TIMEOUT " problem using these options: smbclient -m SMB2 ... -c 'timeout 120; ...
janCoffee's user avatar
  • 131
3 votes
Accepted

How could I share files from my Raspberry Pi to my Laptop?

In general, I think the suggestion to use WinSCP is a good one... but as I've not used Windows in many years, you should read the WinSCP Intro, and decide that for yourself. WRT Samba, I think the ...
Seamus's user avatar
  • 3,862
2 votes
Accepted

Create Temporary Samba Share

This might come a little late, but the Impacket Python project provides exactly what you were asking for. Within the examples folder is an ad-hoc smbserver.py and many further helpful scripts. Citing ...
Max Beckmann's user avatar
2 votes

smbclient alternative for large files

I also had OP's issue using smbclient and the suggestions to use "--socket-options=" and "-t" didn't help. I found the solution, for my use case, on a Google translated French site ...
Shaun Maher's user avatar
2 votes

Permission denied for user accessing mount

As mentioned in one of the comments, try mounting the share using these options: -o uid=500,gid=users,nounix or -o uid=500,gid=users,rw or this to forgo confusion with regards to CIFS POSIX ...
ILMostro_7's user avatar
  • 3,549
2 votes

Sharing files/data in Linux between local users, without them knowing each others passwords or having root privilegies

Users have the right to set ACLs for their own files. To allow john to "send" a file only to as specific user (joe), simply make john execute e.g.: setfacl -m u:joe:rw file For allowing user joe to ...
FelixJN's user avatar
  • 14.1k
2 votes

How to easily share files through local network?

I don't know if it will work with Windows, but try woof (on github). It is a simple 1-file Python3 script. To share a file or a directory (it will be tarballed) to the network: woof <file> It ...
xealits's user avatar
  • 2,279
2 votes

Sharing folder in Virtualbox

Your error: /sbin/mount.vboxsf: mounting failed with the error: No such device could be caused because you are mounting the SF with the same name for the share and mount point. They should be ...
kemotep's user avatar
  • 5,430
2 votes
Accepted

Correct way to set permissions to share a file system between Linux and Windows

These are my permissions but I would suggest creating a sambauser and sambagroup. The force user and force group will take care of the created files permissions. path = /path/to/file force user ...
Jason Croyle's user avatar
2 votes
Accepted

amule: how to see a ed2k of shared file via cli?

Solution found. a)install ed2k_hash apt -y install ed2k_hash b)create hash ed2k_hash yourfilenotcopyrighted.avi c)share it ed2k://|file|yourfilenotcopyrighted.avi|filesizeinbytes|md4hash Waiting ...
elbarna's user avatar
  • 14.3k
1 vote

If we can share ext4 file system then why do we need NFS file system?

However, I've seen that even ext4 file systems on another system is accessed over network after mounting. This needs explanation. No, by itself ext4 filesystem is not network transparent, it's just a ...
Artem S. Tashkinov's user avatar
1 vote
Accepted

ls: reading directory '.': Input/output error on a network volume

In Gnome Files I've noticed that this directory contains a few *zone* files with long and strange name. The files were not visible in ls output and I was not able to delete them using Files window. I ...
Pawel Debski's user avatar
1 vote

Fedora 31 - Guest Additions working - but shared folders do not

It was, in fact, Virtualbox. I updated to 6.1.4 and it's been fixed. However, to install Guest Additions 6.1.4, I had to do: sudo dnf -y install gcc automake make kernel-headers dkms bzip2 libxcrypt-...
Tyler Shellberg's user avatar
1 vote

facl, setfacl, directory share, why does cp put the original file permissions into facl mask? Shouldn't that be cp -p behavior?

All answers so far have given advice on how to deal with sharing file via group directories. Non has answered you main question, I think, which was: Why does cp a b behave as if cp -p a b was ...
phunsoft's user avatar
  • 178
1 vote

How do I extract a .tar file on Azure File Share on Ubuntu 18.04?

As far as I know, it is not possible to extract files inside a storage account. But you could created a script which extracts the files on you machine and moves them back to the storage account.
IngoH's user avatar
  • 123
1 vote

What's the correct way to share a directory with Windows machines using Samba?

For now, I would suggest to just add the apache group (typically www-data) as a secondary group to every user in the aalaap group (or just the aalaap user) See 3rd section: Add a existing user to www-...
medmek's user avatar
  • 111
1 vote

Shared folder between QEMU Windows guest and Linux host

I managed to make simple working setup that uses anonymous NFS export. It requires to enable "Services for NFS" in Windows guest and using regedit to set matching DWORD values AnonymousUid ...
Rostislav Matl's user avatar
1 vote

solutions when NFS server is inaccessible

If they are important directories, consider offering them from two (synchronised) servers and using the automounter to select one depending on availability or preference. If one goes down the other ...
Chris Davies's user avatar
1 vote

Dropbox-like solution for two power users with dynamic IPs that doesn't use the cloud?

I have been using Owncloud up to now for similar robust file-sharing (minus a separate server). However, lately I have been using Nextcloud, which has been Docker-ized as well so you can be up and ...
Jackspace's user avatar
  • 117
1 vote

Dropbox-like solution for two power users with dynamic IPs that doesn't use the cloud?

I would get a dyndns or no-ip account one for each of you. Run the updater client on each of your systems. Then use the staic adresses that you create to sshfs mount a drive or folder on eachothers ...
Michael Prokopec's user avatar
1 vote

Set SMB2 protocol in Samba 3.6.6

SLES 11.4 is old enough for its Samba to default to SMBv1 only. You've set both client min protocol and client max protocol, which only affect Samba when it's acting as a client, like smbclient. For ...
telcoM's user avatar
  • 114k

Only top scored, non community-wiki answers of a minimum length are eligible