>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: r...@wolfdale~# uname -a FreeBSD wolfdale.sgate.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 r...@wolfdale~#
>Description: chmod o= /var/log/critical chflags sappnd /var/log/critical chflags sappnd /var/log/critical/* r...@wolfdale/var/log/critical# echo "test" > critical.log critical.log: Operation not permitted. r...@wolfdale/var/log/critical# echo "test" >> critical.log r...@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 r...@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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"