Bug 1228597 - [Backup]: Chown/chgrp for a directory does not get recorded as a MODIFY entry in the outfile
Summary: [Backup]: Chown/chgrp for a directory does not get recorded as a MODIFY entry...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfind
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Aravinda VK
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On:
Blocks: 1202842 1223636 1230127 1230712
TreeView+ depends on / blocked
 
Reported: 2015-06-05 09:52 UTC by Sweta Anandpara
Modified: 2016-09-17 15:20 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.7.1-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1230127 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:58:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Sweta Anandpara 2015-06-05 09:52:14 UTC
Description of problem:
Have a volume and glusterfind session(s) created for the same. When any metadata changes are done to any file, it gets captured in teh output file. However, when the owner/group of a directory is changed, there is no metion of the same in the output file.

Version-Release number of selected component (if applicable):
glusterfs-3.7.0-3.el6rhs.x86_64

How reproducible: Always


Steps to Reproduce:
1. Have a volume 2*2 'testvol' and glusterfind sessions 'sess1' and 'sess2'
2. Mount it over nfs/fuse and create 2 files and a directory 'dir1'
3. Change the permissions, owner, group of a file and run glusterfind pre and post
4. Verify that the file has a mention in the output file with the type MODIFY
5. Do the same for 'dir1' and execute glusterfind pre and post

Actual results:

Step5 generates an output file which does not have a mention of MODIFY op for the directory

Expected results:
Metadata changes to directory should get logged in the output file

Comment 5 Sweta Anandpara 2015-06-23 09:49:29 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]#

Comment 6 errata-xmlrpc 2015-07-29 04:58:01 UTC
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


Note You need to log in before you can comment on or make changes to this bug.