Error fcopy: invalid ownership for file /etc/resolv.conf (chattr +i) #6296
Labels
needinfo
More information is needed from the issue author
networking
Issues related to networking features (--net=, etc)
Description
Describe the bug
Firejail can't start if its dealing with an immutable /etc/resolv.conf due to fcopy throwing an error trying to change its ownership.
Steps to Reproduce
Steps to reproduce the behavior
Launch any program with a $PATH that causes it to use firejail while /etc/resolv.conf has been hit with
chattr +i /etc/resolv.conf
chattr +i /etc/resolv.conf
Expected behavior
What you expected to happen
Launch my programs in firejail.
Actual behavior
What actually happened
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/program
in aterminal?
Software launches without issue.
Additional context
Any other detail that may help to understand/debug the problem
Environment
Linux distribution and version (e.g. "Ubuntu 20.04" or "Arch Linux")
Arch Linux
Firejail version (
firejail --version
).0.9.72
If you use a development version of firejail, also the commit from which it
was compiled (
git rev-parse HEAD
).NA
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)The text was updated successfully, but these errors were encountered: