simple_repro.ubuntu26.log #1

  • //
  • test-install_sdp/
  • dev/
  • os_bug_reports/
  • Ubuntu26_chown_POSIX_regressions/
  • simple_repro.ubuntu26.log
  • View
  • Commits
  • Open Download .zip Download (1 KB)
Running on Ubuntu 26.04 LTS
TEST 1 - trailing colon syntax ignored
touch ownergroup_test
ls -l ownergroup_test
-rw-r--r-- 1 root root 0 Jul 22 15:07 ownergroup_test
chown perforce: ownergroup_test
ls -l ownergroup_test
-rw-r--r-- 1 perforce root 0 Jul 22 15:07 ownergroup_test
The owner/group after 'chown perforce: ownergroup_test' should be perforce:perforce.
FAIL TEST 1: Ownership is incorrect; it is perforce:root.
TEST 2 - chown -h fails for symlink to directory
mkdir dir1
ln -s dir1 symlink_to_dir1
ls -ld dir1 symlink_to_dir1
drwxr-xr-x 2 root root 4096 Jul 22 15:07 dir1
lrwxrwxrwx 1 root root    4 Jul 22 15:07 symlink_to_dir1 -> dir1
chown -h perforce symlink_to_dir1
ls -ld dir1 symlink_to_dir1
drwxr-xr-x 2 perforce root 4096 Jul 22 15:07 dir1
lrwxrwxrwx 1 root     root    4 Jul 22 15:07 symlink_to_dir1 -> dir1
The owner of the symlink and dir after 'chown -h symlink_to_dir1' should be perforce (symlink) and root (dir), respectively.
FAIL TEST 2: Link and Dir Ownership is incorrect; it is 'root' (symlink) and 'perforce' (dir).
# Change User Description Committed
#1 33144 C. Thomas Tyler Initialized //test-install_sdp/dev with p4 populate -b test-install_sdp_Classic_to_Streams
//guest/tom_tyler/sw/main/install_sdp/dev/bin/os_bug_reports/Ubuntu26_chown_POSIX_regressions/simple_repro.ubuntu26.log
#1 33086 C. Thomas Tyler Added repro script and output.