From owner-freebsd-stable@FreeBSD.ORG Wed Nov 17 13:51:22 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C468106566B for ; Wed, 17 Nov 2010 13:51:22 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id EF19C8FC17 for ; Wed, 17 Nov 2010 13:51:21 +0000 (UTC) Received: by yxh35 with SMTP id 35so1107668yxh.13 for ; Wed, 17 Nov 2010 05:51:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :in-reply-to:organization:references:user-agent:x-envelope-to :mail-followup-to:date:message-id:mime-version:content-type; bh=Ni5EilqvZQc5pADmjbAUuL5XNBEmU8s36T/hDR50NCU=; b=M1e86wZYQ7f5dLwMcEdIc6NMzROfVC2A3IawbO+wuCvvPXs5uCaonbHs0zFpfUsxBl wo3ZYltvPoqVn/4X+g5NEXc3Ami95TazNNr5F4yVm8LYd+XNxw3lWK/Oje8HyGepTGZs RyBcYkd1o9VfTbmy1g7ghxifn3mdnKs9fHc8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:organization:references:user-agent :x-envelope-to:mail-followup-to:date:message-id:mime-version :content-type; b=qE/GAziKVODJA+nHfUHyIIP6eYN0ImGdV81ldx9I0iObWr3eLY2tkw20maf69RNuTv PN732j4WnDvY0OY+A2dv3bfB/iUng8Bbu9/R3xVgCNUrBQZYlfXYbrjBYtcvdIQD1J/Q wkrtvPK41prnlrNhABVu5/3hUC0MXN6KWDxVI= Received: by 10.231.17.200 with SMTP id t8mr7059048iba.184.1290001880306; Wed, 17 Nov 2010 05:51:20 -0800 (PST) Received: from smtp.xbsd.name ([123.117.32.50]) by mx.google.com with ESMTPS id gy41sm2257139ibb.5.2010.11.17.05.51.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Nov 2010 05:51:18 -0800 (PST) Received: from pluton.xbsd.name (pluton.xbsd.name [172.16.1.10]) by smtp.xbsd.name (OpenSMTPD) with ESMTP id BWsR6MH9 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128); Wed, 17 Nov 2010 21:51:09 +0800 (CST) From: darcsis@gmail.com (Denise H. G.) To: George Mamalakis In-Reply-To: <4CE3B320.70302@eng.auth.gr> (George Mamalakis's message of "Wed, 17 Nov 2010 12:49:04 +0200") Organization: Pluto The Planet References: <4CE3B320.70302@eng.auth.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) X-Envelope-To: mamalos@eng.auth.gr Mail-Followup-To: George Mamalakis , freebsd-stable Date: Wed, 17 Nov 2010 21:51:06 +0800 Message-ID: <86mxp85a9h.fsf@pluton.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable Subject: Re: chflags on zfs (sappnd) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 13:51:22 -0000 On 2010/11/17 at 18:49, George Mamalakis wrote: > > Hi everbody, > from http://wiki.freebsd.org/ZFS I understand that chflags are > supported by zfs. But if I have a file with sappnd on a zfs > filesystem, I am unable to execute a command like this: > > # touch lili > # chflags sappnd lili > # ls -lrto lili > -rw-r--r-- 1 root wheel sappnd 5 Nov 17 12:38 lili > # echo "lala" >> lili > # echo "lala" >> lili > -su: echo: write error: Operation not permitted > > So, the first time it worked, but it stops working on any consequent > time (when the file is no more empty). > I found a bug report on: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=149495 > > where a patch is suggested. Nevertheless, even though my sources are > newer than the suggested patch, my source tree does not contain it. > Do we know anything more about it? > > # uname -a > FreeBSD myhost 8.1-STABLE FreeBSD 8.1-STABLE #1: Fri Nov 5 17:27:37 > EET 2010 root@:/mnt/obj/mnt/src/sys/GENERIC amd64 > > Thank you all for your time in advance, > > mamalos > I can't reproduce the warning message here. When I do the second 'echo', nothing appeared. But the file content was unchanged. I am using zfs version 15. #uname -a FreeBSD pluton.xbsd.name 8.1-STABLE FreeBSD 8.1-STABLE #0: Wed Nov 17 08:13:47 CST 2010 dhg@pluton.xbsd.name:/opt/obj/sysbld/usr/src/sys/pluton-amd64 amd64 -- If a scientist uncovers a publishable fact, it will become central to his theory. His theory, in turn, will become central to all scientific truth.