We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The fchmodat2 system call, added in Linux 6.6, should be captured.
fchmodat2
The fchmodat2 system call does not seem to be supported right now.
cp -r /some/source/directory /some/target/directory
proot
This will produce the nonsensical-looking error "cp: setting permissions for '/some/target/directory': No such file or directory".
A snippet of strace output:
strace
newfstatat(AT_FDCWD, "/some/target/directory", 0x7fffffffd750, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) mkdirat(AT_FDCWD, "/some/target/directory", 0555) = 0 newfstatat(AT_FDCWD, "/some/target/directory", {st_mode=S_IFDIR|0555, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 fchmodat2(AT_FDCWD, "/some/target/directory", 040755, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) write(2, "/nix/store/php4qidg2bxzmm79vpri0"..., 66/nix/store/php4qidg2bxzmm79vpri025bqi0fa889-coreutils-9.5/bin/cp: ) = 66 write(2, "setting permissions for '/home/s"..., 44setting permissions for '/some/target/directory') = 44 write(2, ": No such file or directory", 27: No such file or directory) = 27 write(2, "\n", 1 ) = 1 lseek(0, 0, SEEK_CUR) = 0 close(0) = 0 close(1) = 0 close(2) = 0 exit_group(1) = ? +++ exited with 1 +++
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
The
fchmodat2
system call, added in Linux 6.6, should be captured.Actual Behavior
The
fchmodat2
system call does not seem to be supported right now.Steps to Reproduce the Problem
cp -r /some/source/directory /some/target/directory
underproot
, on a Linux kernel which supports thefchmodat2
system callThis will produce the nonsensical-looking error "cp: setting permissions for '/some/target/directory': No such file or directory".
Specifications
Command Output
A snippet of
strace
output:The text was updated successfully, but these errors were encountered: