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

junest fails on immutable filesystems #284

Closed
nayr7 opened this issue Dec 28, 2021 · 2 comments
Closed

junest fails on immutable filesystems #284

nayr7 opened this issue Dec 28, 2021 · 2 comments

Comments

@nayr7
Copy link

nayr7 commented Dec 28, 2021

There are cases where junest result in an error similar to :

cp: cannot create regular file '/home/ieltan/.junest//etc/netgroup': Permission denied
/home/ieltan/.junest/usr/bin/cp: cannot create regular file '/home/ieltan/.junest//etc/netgroup': Permission denied

This file has read-only permissions -r--r--r-- 1 root root 0 1 janv. 1970 /etc/netgroup on immutable filesystems, junest successfully copies this file on the first run but at the second it tries to copy over it (hence deleting it) but because the permissions carries over it doesn't work -r--r--r-- 1 ieltan users 0 27 déc. 14:35 .junest/etc/netgroup. I could to circumvent this either by entering junest -n or changing junest behavior to use cp -f

@nayr7
Copy link
Author

nayr7 commented Dec 28, 2021

Also I am using NixOS for the record

fsquillace added a commit that referenced this issue Jan 5, 2022
@fsquillace
Copy link
Owner

Thanks for raising this issue @dryan7 ! I placed the fix to dev branch.

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants