From owner-freebsd-questions Mon May 28 14:49:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail11.sdc1.sfba.home.com (femail11.sdc1.sfba.home.com [24.0.95.107]) by hub.freebsd.org (Postfix) with ESMTP id E122337B422 for ; Mon, 28 May 2001 14:49:37 -0700 (PDT) (envelope-from kempp@bigfoot.com) Received: from bigfoot.com ([24.16.211.119]) by femail11.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010528214937.KGYX14179.femail11.sdc1.sfba.home.com@bigfoot.com> for ; Mon, 28 May 2001 14:49:37 -0700 Message-ID: <3B12C675.48AB1B29@bigfoot.com> Date: Mon, 28 May 2001 14:43:17 -0700 From: Kemp Petersen X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: file access time not modified? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It appears that access times of a binary executable are not modified when executing it, whereas access time of a shell script is modified when the script is executed. Is there any way to enforce behavior similar to other OSs (Sun, AIX, HP-UX, ...) and have file access times modified when executing a binary? FreeBSD 4.3-Release % /bin/date Mon May 28 00:25:57 PDT 2001 % ls -lu /bin/date -r-xr-xr-x 1 root wheel 188856 Apr 21 02:05 date % file /bin/date /bin/date: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped % % ls -lu /usr/bin/groups -r-xr-xr-x 1 root wheel 1977 May 28 00:20 groups % date Mon May 28 00:26:12 PDT 2001 % /usr/bin/groups operator staff % ls -lu /usr/bin/groups -r-xr-xr-x 1 root wheel 1977 May 28 00:26 groups % file /usr/bin/groups /usr/bin/groups: Bourne shell script text executable AIX 4.3 % date Mon May 28 00:23:44 PDT 2001 % ls -lu date -r-xr-xr-x 1 bin bin 11424 May 28 00:23 date SunOS 5.7 % date Mon May 28 00:39:05 PDT 2001 % ls -lu date -r-xr-xr-x 1 root 8248 May 28 00:39 date Thanks! -Kemp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message