From owner-freebsd-bugs@FreeBSD.ORG Fri Apr 1 12:30:11 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0707416A4CE for ; Fri, 1 Apr 2005 12:30:11 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C4A943D39 for ; Fri, 1 Apr 2005 12:30:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j31CUAwY008443 for ; Fri, 1 Apr 2005 12:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j31CU9NZ008421; Fri, 1 Apr 2005 12:30:09 GMT (envelope-from gnats) Date: Fri, 1 Apr 2005 12:30:09 GMT Message-Id: <200504011230.j31CU9NZ008421@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Marko Kuntic Subject: Re: conf/54170: error from weekly periodic script 330.catman X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marko Kuntic List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:30:11 -0000 The following reply was made to PR conf/54170; it has been noted by GNATS. From: Marko Kuntic To: Matteo Riondato Cc: bug-followup@freebsd.org Subject: Re: conf/54170: error from weekly periodic script 330.catman Date: Fri, 1 Apr 2005 14:26:28 +0200 (CEST) On Fri, 1 Apr 2005, Matteo Riondato wrote: > Well...that's really strange, because periodic scripts are executed > with root uid, so you should never get a permission denied. Yes, and when I run the script in question manually, as root, I get no errors. The errors only occur when the script is run by cron - periodic. > Do you use some sort of ACLs or MAC? can you please send the output of > ls -la /usr/share/man | head -2 > ls -la /usr/share/openssl/man |head -2 > ls -la /usr/local/man | head -2 > ls -l /usr/X11R6/man | head -2 > ls -l /usr/local/lib/perl5/5.8.5/man |head -2 > ls -l /usr/local/lib/perl5/5.8.5/perl/man |head -2 Certainly: [mkuntic@zagreb.mioc.hr] <~>$ ls -la /usr/share/man | head -2 total 556 drwxr-xr-x 24 root wheel 512 Mar 27 05:01 . [mkuntic@zagreb.mioc.hr] <~>$ ls -la /usr/share/openssl/man |head -2 total 100 drwxr-xr-x 7 root wheel 512 Mar 27 05:01 . [mkuntic@zagreb.mioc.hr] <~>$ ls -la /usr/local/man | head -2 total 116 drwxr-xr-x 38 root wheel 1024 Mar 27 05:01 . [mkuntic@zagreb.mioc.hr] <~>$ ls -l /usr/X11R6/man | head -2 total 56 drwxr-xr-x 2 man wheel 512 Dec 27 17:43 cat1 [mkuntic@zagreb.mioc.hr] <~>$ ls -l /usr/local/lib/perl5/5.8.5/man |head -2 total 12 drwxr-xr-x 2 root wheel 4096 Feb 14 23:38 man3 [mkuntic@zagreb.mioc.hr] <~>$ ls -l /usr/local/lib/perl5/5.8.5/perl/man |head -2 total 34 drwxr-xr-x 2 root wheel 9728 Dec 27 11:23 man3 The filesystems are mounted with acls, but no acls are defined on the directories in question. Regards, Marko Kuntic