Date: Tue, 10 Aug 2010 12:06:54 GMT From: Daniel Zhelev <daniel@zhelev.biz> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/149495: chflags sappend on zfs not working right Message-ID: <201008101206.o7AC6sJI033709@www.freebsd.org> Resent-Message-ID: <201008101210.o7ACA2iU066316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 149495 >Category: misc >Synopsis: chflags sappend on zfs not working right >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 10 12:10:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Daniel Zhelev >Release: 8.1-RELEASE >Organization: none >Environment: root@wolfdale~# uname -a FreeBSD wolfdale.sgate.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 root@wolfdale~# >Description: chmod o= /var/log/critical chflags sappnd /var/log/critical chflags sappnd /var/log/critical/* root@wolfdale/var/log/critical# echo "test" > critical.log critical.log: Operation not permitted. root@wolfdale/var/log/critical# echo "test" >> critical.log root@wolfdale/var/log/critical# grep test critical.log Filesystem 1K-blocks Used Avail Capacity Mounted on zroot/var/log 5242880 106 5242774 0% /var/log root@wolfdale~# sysctl kern.securelevel kern.securelevel: 1 Flag sappnd/sappend is permitting also write to file not only delete on ZFS mounts. Submitting but-report since it is marked as done in http://wiki.freebsd.org/ZFS Not tested other flags, please contact me if you need me to. >How-To-Repeat: Described above. >Fix: Using zvol with UFS on it - workaround >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008101206.o7AC6sJI033709>