** Description changed:

  r@r:~/coreutils-test$ echo hello > file1
  r@r:~/coreutils-test$ ll
  total 12
  drwxrwxr-x 2 r r 4096 Aug 21 18:15 ./
  drwxr-x--- 6 r r 4096 Aug 21 18:06 ../
  -rw-rw-r-- 1 r r    6 Aug 21 18:15 file1
  r@r:~/coreutils-test$ ( umask 333 && coreutils cp file1 file2 )
  cp: cannot create regular file 'file2': Permission denied
  r@r:~/coreutils-test$ echo $?
  1
  r@r:~/coreutils-test$ ll
  total 12
  drwxrwxr-x 2 r r 4096 Aug 21 18:15 ./
  drwxr-x--- 6 r r 4096 Aug 21 18:06 ../
  -rw-rw-r-- 1 r r    6 Aug 21 18:15 file1
  -r-------- 1 r r    0 Aug 21 18:15 file2
  r@r:~/coreutils-test$ coreutils --version
  coreutils 0.10.0 (multi-call binary)
  r@r:~/coreutils-test$ ( umask 333 && gnucp file1 file3 )
  r@r:~/coreutils-test$ ll
  total 16
  drwxrwxr-x 2 r r 4096 Aug 21 18:16 ./
  drwxr-x--- 6 r r 4096 Aug 21 18:06 ../
  -rw-rw-r-- 1 r r    6 Aug 21 18:15 file1
  -r-------- 1 r r    0 Aug 21 18:15 file2
  -r--r--r-- 1 r r    6 Aug 21 18:16 file3
+ 
+ #### KNOWN AFFECTED BUILD ####
+ 
+ ldns : https://launchpadlibrarian.net/874244082/buildlog_ubuntu-
+ stonking-arm64.ldns_1.9.2-1ubuntu1_BUILDING.txt.gz
+ 
+ inn2: https://launchpadlibrarian.net/874385560/buildlog_ubuntu-stonking-
+ amd64.inn2_2.7.4-1build2_BUILDING.txt.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164777

Title:
  rust-coreutils cp: fails with "Permission denied" when umask strips
  owner-write

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2164777/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to