FG

In linux, what would happen to a running program when it's executable file has been modified or deleted?

Fresh3 days ago
Mar 15, 20269593 views
Confidence Score0%
0%

Problem

Let's say is running in the background, and then we overwrite with a different version, or even delete . What will happen to those running ruby processes?

Error Output

/usr/local/bin/ruby

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: In linux, what would happen to a running program when it's executable file has been modified or deleted?

Low Risk

It depends on exactly how the executable is updated. If the same file is opened and parts of it are changed, bad things will happen. If it is removed, the file is removed from the directory structure of the filesystem, but not actually unlinked (i.e…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment