From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 20:49:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D731916A420 for ; Wed, 1 Mar 2006 20:49:30 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0873043D48 for ; Wed, 1 Mar 2006 20:49:29 +0000 (GMT) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 6A18499B95 for ; Wed, 1 Mar 2006 14:49:28 -0600 (CST) Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07154-06 for ; Wed, 1 Mar 2006 14:49:27 -0600 (CST) Received: from janus.daycos.com (janus.daycos.com [204.26.70.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTP id A21EC99B79 for ; Wed, 1 Mar 2006 14:49:27 -0600 (CST) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Wed, 1 Mar 2006 14:49:25 -0600 User-Agent: KMail/1.9.1 X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603011449.26219.kirk@strauser.com> X-Virus-Scanned: amavisd-new at honeypot.net Subject: Permissions have me stumped X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 20:49:31 -0000 I have a directory, /usr/share/media, where I store all my pictures, songs, videos, and other random stuff. The directory is chgrp media and chmod 2770 so that every member of the media group can write to it, and all files writing to it will be readable by everyone else in the media group. What I don't really understand is why I can't update any timestamps on its subdirectories, even though it looks like I should be able to: $ ls -lad /usr/share/media/music drwxrws--- 4 root media 512 Mar 1 14:40 /usr/share/media/music $ touch -t 200603011234.45 /usr/share/media/music touch: /usr/share/media/music: Operation not permitted The only reason this is an issue at all is that I have a script that rsyncs my this directory tree with a similar one on my machine at work, and it throws a large number of warnings ever time the rsync command runs: $ rsync -auvx janus:/usr/share/media/music/ /usr/share/media/music/ receiving file list ... done rsync: failed to set times on "/usr/share/media/music/.": Operation not permitted (1) rsync: failed to set times on "/usr/share/media/music/albums": Operation not permitted (1) rsync: failed to set times on "/usr/share/media/music/singles": Operation not permitted (1) rsync: failed to set times on "/usr/share/media/music/.": Operation not permitted (1) rsync: failed to set times on "/usr/share/media/music/albums": Operation not permitted (1) rsync: failed to set times on "/usr/share/media/music/singles": Operation not permitted (1) ... I know this is pretty minor in the scheme of things, but it still bothers me because it looks like it should work, but it doesn't. -- Kirk Strauser