Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2010 15:22:12 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        freebsd-stable@freebsd.org
Cc:        Pawel Jakub Dawidek <pjd@freebsd.org>
Subject:   Re: Another ZFS RELENG_7/i386 strangeness: Operation not permitted
Message-ID:  <alpine.BSF.2.00.1001291521380.50257@woozle.rinet.ru>
In-Reply-To: <alpine.BSF.2.00.1001262112350.72037@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1001262047440.72037@woozle.rinet.ru> <alpine.BSF.2.00.1001262112350.72037@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Jan 2010, Dmitry Morozovsky wrote:

DM> DM> stable/7 as of yesterday. Operation not permitted errors during 
DM> DM> `rsync -avH --fileflags' to ZFS. Investigating:
DM> DM> 
DM> DM> root@woozle:/usr/ports# la -io 
DM> DM> /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.*
DM> DM> 73613 -rw-r--r--  1 root  wheel  - 1200326 Sep 25  2005 /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.bg9Zcw
DM> DM> 73728 -rw-r--r--  1 root  wheel  - 1200326 Sep 25  2005 /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.dxux3T
DM> DM> 28355 -rw-r--r--  1 root  wheel  - 1200326 Sep 25  2005 /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.wxuWSQ
DM> DM> root@woozle:/usr/ports# rm -f !$
DM> DM> rm -f /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.*
DM> DM> rm: /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.bg9Zcw: Operation not permitted
DM> DM> rm: /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.dxux3T: Operation not permitted
DM> DM> rm: /w/backup/woozle/var/log/www/woozle/.access_log.9.gz.wxuWSQ: Operation not permitted
DM> DM> 
DM> DM> zfs umount/mount does not fix the problem. turning on vfs.zfs.debug does not 
DM> DM> reveal anything.
DM> 
DM> found the source: it's sunlnk flag on a directory, which behaves differently on 
DM> UFS and ZFS: on UFS, this flag does not prevent removing files from the directory, only 
DM> removing and renaming directory itself.
DM> 
DM> Should I file a PR?

For the reference: http://www.freebsd.org/cgi/query-pr.cgi?pr=143343


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1001291521380.50257>