|
From: | Nitin Bhadauria |
Subject: | [bug #33724] Find command is changing the access time of directory |
Date: | Thu, 07 Jul 2011 07:41:05 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 |
URL: <http://savannah.gnu.org/bugs/?33724> Summary: Find command is changing the access time of directory Project: findutils Submitted by: nbhadauria Submitted on: Thu 07 Jul 2011 07:41:04 AM GMT Category: find Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: UNICON Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.27 Fixed Release: None _______________________________________________________ Details: I am using find command to find directory not been accessed from 90 days. for first time it works fine then i found it change the access time of folder. ex. address@hidden ~]# date Thu Jul 7 13:01:45 IST 2011 address@hidden ~]# stat find /mailbox/vmail/nbhadauria/Maildir/cur stat: cannot stat `find': No such file or directory File: `/mailbox/vmail/nbhadauria/Maildir/cur' Size: 581632 Blocks: 1152 IO Block: 4096 directory Device: 811h/2065d Inode: 15433801 Links: 2 Access: (0700/drwx------) Uid: (11184/ vmail) Gid: ( 2110/ vmail) Access: 2011-07-07 13:00:46.000000000 +0530 Modify: 2011-07-07 12:49:46.000000000 +0530 Change: 2011-07-07 12:49:46.000000000 +0530 address@hidden ~]# find /mailbox/vmail/*/Maildir/cur -type d -atime +90 -print address@hidden ~]# stat find /mailbox/vmail/nbhadauria/Maildir/cur stat: cannot stat `find': No such file or directory File: `/mailbox/vmail/nbhadauria/Maildir/cur' Size: 581632 Blocks: 1152 IO Block: 4096 directory Device: 811h/2065d Inode: 15433801 Links: 2 Access: (0700/drwx------) Uid: (11184/ vmail) Gid: ( 2110/ vmail) Access: 2011-07-07 13:05:56.000000000 +0530 Modify: 2011-07-07 12:49:46.000000000 +0530 Change: 2011-07-07 12:49:46.000000000 +0530 address@hidden ~]# date Thu Jul 7 13:06:22 IST 2011 As you can see The Access time is changed.. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33724> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |