zsh: killed [cmd] on files from shared folder

Discussions about using Linux guests in VirtualBox.
Post Reply
tekion
Posts: 7
Joined: 6. Aug 2020, 03:18

zsh: killed [cmd] on files from shared folder

Post by tekion »

Hello,
I noticed today that files that are shared via VirtualBox cannot be accessed via file, tail, or another command. The only command I know that works is 'ls'
For example:
# file Flakpak.md
zsh: killed file Flakpak.md

I ruled out the permission issue, by running the above as root.
file permission: -rwxrwx--- 1 root vboxsf

Virtualbox Version:
Version 7.0.10 r158379 (Qt5.15.2)

Has anyone heard or know of this issue?
ludovic31
Posts: 6
Joined: 26. Oct 2023, 15:45

Re: zsh: killed [cmd] on files from shared folder

Post by ludovic31 »

It seems I have the same problem, but worse, sudo cat file.txt still gives Killed answer
Antonis
Posts: 2
Joined: 3. Jul 2020, 16:07

Re: zsh: killed [cmd] on files from shared folder

Post by Antonis »

Same issue here. Trying to cope and paste a file from/to a mounted share drive from the Host OS, but all I get is "zsh: killed cp <from_path> <to_path>".

Edit: Using the GUI (Thunar FM) it works fine...

Edit 2 [SOLVED]:

Code: Select all

sudo apt reinstall git
fixed it for me. I have no idea why and I don't have the energy to try and figure it out. Hope this helps.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: zsh: killed [cmd] on files from shared folder

Post by scottgus1 »

You all may want to post a Bugtracker ticket about this. Could be a Virtualbox bug. The first to do so, please post a link to the ticket here, and the others can contribute. Please post a zipped VM log where the "kill" happens with your ticket reports.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: zsh: killed [cmd] on files from shared folder

Post by fth0 »

FWIW, I don't have the problem when I install and use zsh in one of my Linux guests.

What happens if you switch to the standard Bourne shell ("sh") first?
Post Reply