Bug 1228597
| Summary: | [Backup]: Chown/chgrp for a directory does not get recorded as a MODIFY entry in the outfile | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sweta Anandpara <sanandpa> | |
| Component: | glusterfind | Assignee: | Aravinda VK <avishwan> | |
| Status: | CLOSED ERRATA | QA Contact: | Sweta Anandpara <sanandpa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | rhgs-3.1 | CC: | asrivast, avishwan, khiremat, mchangir, rhs-bugs, storage-qa-internal | |
| Target Milestone: | --- | |||
| Target Release: | RHGS 3.1.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.7.1-3 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1230127 (view as bug list) | Environment: | ||
| Last Closed: | 2015-07-29 04:58:01 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1202842, 1223636, 1230127, 1230712 | |||
|
Description
Sweta Anandpara
2015-06-05 09:52:14 UTC
Tested and verified this on the build glusterfs-3.7.1-4.el6rhs.x86_64
Chown/chgrp/chmod is successfully getting captured in the output file. Few other issues were hit while verifying this - for which bugs are already filed.
(1233805 , 1232237 , 1232230)
Pasted below are the complete logs. Moving this to verified in 3.1 everglades.
############### SERVER ########################
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# gluster v list
cross3
gluster_shared_storage
ozone
[root@dhcp43-191 ~]# gluster v info ozone
Volume Name: ozone
Type: Distributed-Replicate
Volume ID: 9ef1ace8-505d-4d97-aa23-4296aa685f76
Status: Started
Number of Bricks: 4 x 2 = 8
Transport-type: tcp
Bricks:
Brick1: 10.70.43.191:/rhs/thinbrick1/ozone
Brick2: 10.70.42.202:/rhs/thinbrick1/ozone
Brick3: 10.70.43.191:/rhs/thinbrick2/ozone
Brick4: 10.70.42.202:/rhs/thinbrick2/ozone
Brick5: 10.70.42.30:/rhs/thinbrick1/ozone
Brick6: 10.70.42.147:/rhs/thinbrick1/ozone
Brick7: 10.70.42.30:/rhs/thinbrick2/ozone
Brick8: 10.70.42.147:/rhs/thinbrick2/ozone
Options Reconfigured:
performance.readdir-ahead: on
storage.build-pgfid: on
changelog.changelog: on
changelog.capture-del-path: on
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind list
SESSION VOLUME SESSION TIME
---------------------------------------------------------------------------
sesso3 ozone 2015-06-18 16:27:30
sesso1 ozone 2015-06-19 23:20:19
cross3s1 cross3 2015-06-23 18:09:21
sesso5 ozone 2015-06-20 00:18:03
cross3s3 cross3 2015-06-23 17:55:28
cross3s2 cross3 2015-06-23 18:06:38
sesso2 ozone 2015-06-19 22:44:40
sesso4 ozone 2015-06-18 16:27:38
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind post sesso1 ozone
Session sesso1 with volume ozone updated
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# # after doing chown, chmod, chgrp
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# gluster peer status
Number of Peers: 3
Hostname: 10.70.42.202
Uuid: 2abb8dbb-48db-4c26-97bb-1ae1e11964f1
State: Peer in Cluster (Connected)
Hostname: 10.70.42.30
Uuid: 38189182-2e48-4f9d-a342-f595389bf1bd
State: Peer in Cluster (Connected)
Hostname: 10.70.42.147
Uuid: dc3c70a2-aa43-4bf1-ba4d-1272616b69c1
State: Peer in Cluster (Connected)
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
MODIFY level02%2Flevel12%2Flevel22%2Flevel32%2F
MODIFY level01%2Flevel11%2F
MODIFY level01%2Flevel11%2Flevel21%2F
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind create
usage: glusterfind create [-h] [--debug] [--force] [--reset-session-time]
session volume
glusterfind create: error: too few arguments
[root@dhcp43-191 ~]# glusterfind create sesso1 ozone --force
Session sesso1 created with volume ozone
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt --regenerate-outfile
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
MODIFY level02%2Flevel12%2Flevel22%2Flevel32%2F
MODIFY level01%2Flevel11%2F
MODIFY level01%2Flevel11%2Flevel21%2F
[root@dhcp43-191 ~]# gluster v status ozone
Status of volume: ozone
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 10.70.43.191:/rhs/thinbrick1/ozone 49153 0 Y 6807
Brick 10.70.42.202:/rhs/thinbrick1/ozone 49153 0 Y 31482
Brick 10.70.43.191:/rhs/thinbrick2/ozone 49154 0 Y 6815
Brick 10.70.42.202:/rhs/thinbrick2/ozone 49154 0 Y 31489
Brick 10.70.42.30:/rhs/thinbrick1/ozone 49153 0 Y 1999
Brick 10.70.42.147:/rhs/thinbrick1/ozone 49152 0 Y 31451
Brick 10.70.42.30:/rhs/thinbrick2/ozone 49156 0 Y 18529
Brick 10.70.42.147:/rhs/thinbrick2/ozone 49155 0 Y 25298
NFS Server on localhost 2049 0 Y 30725
Self-heal Daemon on localhost N/A N/A Y 30735
NFS Server on 10.70.42.202 2049 0 Y 18020
Self-heal Daemon on 10.70.42.202 N/A N/A Y 18030
NFS Server on 10.70.42.30 2049 0 Y 7364
Self-heal Daemon on 10.70.42.30 N/A N/A Y 7373
NFS Server on 10.70.42.147 2049 0 Y 14078
Self-heal Daemon on 10.70.42.147 N/A N/A Y 14089
Task Status of Volume ozone
------------------------------------------------------------------------------
Task : Rebalance
ID : 9b0a88a2-a3db-409d-bb86-77369f5def91
Status : completed
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind post sesso1 ozone
Session sesso1 with volume ozone updated
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: [2015-06-23 15:09:42.078934] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-06-23 15:09:42.079181] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-06-23 15:09:42.081153] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 4
[2015-06-23 15:09:42.079197] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 3
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
NEW dir1
NEW dir1%2F%2Fdir2
NEW dir1%2Fdir2%2F%2Fdir3
NEW dir1%2Fdir2%2Fdir3%2F%2Fdir4
NEW dir4%2F%2Fdir5
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt --regenerate-outfile
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: [2015-06-23 15:10:33.577488] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-06-23 15:10:33.578098] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-06-23 15:10:33.578218] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 3
[2015-06-23 15:10:33.579152] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 4
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
NEW dir1
NEW dir1%2F%2Fdir2
NEW dir1%2Fdir2%2F%2Fdir3
NEW dir1%2Fdir2%2Fdir3%2F%2Fdir4
NEW dir4%2F%2Fdir5
[root@dhcp43-191 ~]# glusterfind post sesso1 ozone
Session sesso1 with volume ozone updated
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: [2015-06-23 15:12:38.219796] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-06-23 15:12:38.220182] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-06-23 15:12:38.220682] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 3
[2015-06-23 15:12:38.222340] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 4
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
MODIFY dir5%2F
MODIFY dir4%2F
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind post sesso1 ozone
Session sesso1 with volume ozone updated
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
MODIFY dir5%2Fdir4%2F
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt --regenerate-outfile
10.70.42.30 - pre failed: [2015-06-23 15:13:50.892659] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-06-23 15:13:50.892947] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 3
[2015-06-23 15:13:50.893279] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-06-23 15:13:50.893089] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 4
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
MODIFY dir5%2Fdir4%2F
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]#
[root@dhcp43-191 ~]# glusterfind post sesso1 ozone
Session sesso1 with volume ozone updated
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt
10.70.42.30 - pre failed: [2015-06-23 15:15:08.010323] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt --regenerate-outfile
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: [2015-06-23 15:15:23.687953] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-06-23 15:15:23.688055] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-06-23 15:15:23.690372] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 3
[2015-06-23 15:15:23.690891] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 4
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
[root@dhcp43-191 ~]# date
Tue Jun 23 20:45:32 IST 2015
[root@dhcp43-191 ~]# glusterfind pre sesso1 ozone /tmp/outo1.txt --regenerate-outfile
10.70.42.30 - pre failed: /rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
10.70.42.147 - pre failed: [2015-06-23 15:15:37.668185] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-06-23 15:15:37.668264] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-06-23 15:15:37.668358] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 3
[2015-06-23 15:15:37.668429] I [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with index 4
/rhs/thinbrick2/ozone Historical Changelogs not available: [Errno 2] No such file or directory
Generated output file /tmp/outo1.txt
[root@dhcp43-191 ~]# date
Tue Jun 23 20:45:49 IST 2015
[root@dhcp43-191 ~]# cat /tmp/outo1.txt
[root@dhcp43-191 ~]# rpm -qa | grep gluster
glusterfs-libs-3.7.1-4.el6rhs.x86_64
glusterfs-api-3.7.1-4.el6rhs.x86_64
glusterfs-client-xlators-3.7.1-4.el6rhs.x86_64
glusterfs-fuse-3.7.1-4.el6rhs.x86_64
glusterfs-cli-3.7.1-4.el6rhs.x86_64
glusterfs-3.7.1-4.el6rhs.x86_64
glusterfs-server-3.7.1-4.el6rhs.x86_64
[root@dhcp43-191 ~]#
############### CLIENT ########################
[root@dhcp43-71 ~]#
[root@dhcp43-71 ~]# mount | grep ozone
10.70.42.202:/ozone on /mnt/ozone type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
[root@dhcp43-71 ~]# cd /mnt/ozone
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]# l s-a
-bash: l: command not found
[root@dhcp43-71 ozone]# ls -a
. .. 5582ba18%%FTZ39AW4RV.tar.gz 5582baeb%%SNRP8ENTE9 etc file1 file2 file3 level00 level01 level02 level10 level20_sln2 newdir1 .trashcan V6MO_newhdln
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]# ls -ld
drwxr-xr-x. 10 root root 12407 Jun 20 00:18 .
[root@dhcp43-71 ozone]# ls -ld level*
drwxr-xr-x. 2 root root 92 Jun 20 00:10 level00
drwxr--r--. 3 u2 g1 8281 Jun 20 00:10 level01
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level02
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level10
lrwxrwxrwx. 1 root root 7 Jun 18 21:00 level20_sln2 -> level20
[root@dhcp43-71 ozone]# ls -ld level02/level12/level22/level32/
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level02/level12/level22/level32/
[root@dhcp43-71 ozone]# chmod 777 level02/level12/level22/level32/
[root@dhcp43-71 ozone]# ls -ld level02/level12/level22/level32/
drwxrwxrwx. 3 root root 148 Jun 20 00:10 level02/level12/level22/level32/
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]# chown u1 level01/level11
[root@dhcp43-71 ozone]# chgrp g1 level01/level11/level21/
[root@dhcp43-71 ozone]# ls -ld level01/level11
drwxr-xr-x. 3 u1 root 4190 Jun 20 00:10 level01/level11
[root@dhcp43-71 ozone]# ls -ld level01/level11/level21/
drwxr-xr-x. 3 root g1 4217 Jun 20 00:10 level01/level11/level21/
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]# mkdir -p dir1/dir2/dir3/dir4/dir5
[root@dhcp43-71 ozone]# chown -R u1 dir1/dir2/dir3
[root@dhcp43-71 ozone]# ls -ld dir1/dir2/dir3/
drwxr-xr-x. 3 u1 root 68 Jun 23 20:38 dir1/dir2/dir3/
[root@dhcp43-71 ozone]# ls -ld dir1/dir2/dir3/dir4/
drwxr-xr-x. 3 u1 root 68 Jun 23 20:38 dir1/dir2/dir3/dir4/
[root@dhcp43-71 ozone]# ls -ld dir1/dir2/dir3/dir4/dir5/
drwxr-xr-x. 2 u1 root 24 Jun 23 20:38 dir1/dir2/dir3/dir4/dir5/
[root@dhcp43-71 ozone]# mv dir1/dir2/dir3/dir4/ .
[root@dhcp43-71 ozone]# ls -lrt
total 337
-rw-r--r--. 1 root root 102728 Jun 18 18:07 5582ba18%%FTZ39AW4RV.tar.gz
-rwxr-xr-x. 1 u1 g1 102400 Jun 18 18:36 V6MO_newhdln
-rw-r--r--. 1 root root 102400 Jun 18 20:47 5582baeb%%SNRP8ENTE9
lrwxrwxrwx. 1 root root 7 Jun 18 21:00 level20_sln2 -> level20
drwxr-xr-x. 100 root root 16384 Jun 20 00:10 etc
drwxr-xr-x. 2 root root 92 Jun 20 00:10 level00
drwxr--r--. 3 u2 g1 8281 Jun 20 00:10 level01
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level02
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level10
-rw-r--r--. 1 root root 12 Jun 20 00:10 file1
drwxr-xr-x. 3 root root 80 Jun 20 00:10 newdir1
-rw-r--r--. 1 root root 0 Jun 20 00:13 file2
-rw-r--r--. 1 root root 12 Jun 20 00:18 file3
drwxr-xr-x. 3 root root 68 Jun 23 20:38 dir1
drwxr-xr-x. 3 u1 root 68 Jun 23 20:38 dir4
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]# chgrp -R g1 dir4
[root@dhcp43-71 ozone]# ls -ld dir4
drwxr-xr-x. 3 u1 g1 68 Jun 23 20:38 dir4
[root@dhcp43-71 ozone]# ls -ld dir4/dir5/
drwxr-xr-x. 2 u1 g1 24 Jun 23 20:38 dir4/dir5/
[root@dhcp43-71 ozone]# mv dir4/dir5/ .
[root@dhcp43-71 ozone]# ls -lrt
total 338
-rw-r--r--. 1 root root 102728 Jun 18 18:07 5582ba18%%FTZ39AW4RV.tar.gz
-rwxr-xr-x. 1 u1 g1 102400 Jun 18 18:36 V6MO_newhdln
-rw-r--r--. 1 root root 102400 Jun 18 20:47 5582baeb%%SNRP8ENTE9
lrwxrwxrwx. 1 root root 7 Jun 18 21:00 level20_sln2 -> level20
drwxr-xr-x. 100 root root 16384 Jun 20 00:10 etc
drwxr-xr-x. 2 root root 92 Jun 20 00:10 level00
drwxr--r--. 3 u2 g1 8281 Jun 20 00:10 level01
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level02
drwxr-xr-x. 3 root root 148 Jun 20 00:10 level10
-rw-r--r--. 1 root root 12 Jun 20 00:10 file1
drwxr-xr-x. 3 root root 80 Jun 20 00:10 newdir1
-rw-r--r--. 1 root root 0 Jun 20 00:13 file2
-rw-r--r--. 1 root root 12 Jun 20 00:18 file3
drwxr-xr-x. 3 root root 68 Jun 23 20:38 dir1
drwxr-xr-x. 2 u1 g1 24 Jun 23 20:38 dir5
drwxr-xr-x. 2 u1 g1 24 Jun 23 20:42 dir4
[root@dhcp43-71 ozone]#
[root@dhcp43-71 ozone]# mv dir4/ dir5/
[root@dhcp43-71 ozone]# touch dir5/dir4/a
[root@dhcp43-71 ozone]# chgrp g1 dir5/dir4/
[root@dhcp43-71 ozone]# mv dir5/ dir1/
[root@dhcp43-71 ozone]# ls -lrt dir1
total 3
drwxr-xr-x. 3 root root 68 Jun 23 20:38 dir2
drwxr-xr-x. 3 u1 g1 68 Jun 23 20:43 dir5
[root@dhcp43-71 ozone]# ls -lrt dir1/dir5/
total 2
drwxr-xr-x. 2 u1 g1 32 Jun 23 20:43 dir4
[root@dhcp43-71 ozone]# ls -lrt dir1/dir5/dir4/
total 0
-rw-r--r--. 1 root root 0 Jun 23 20:43 a
[root@dhcp43-71 ozone]#
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1495.html |