From b613495e3cdbfd3cfe707f6da8ddc8857e2b82ff Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Fri, 15 Dec 2006 19:23:27 +0000 Subject: [PATCH] chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag. --- lib/libc/sys/chflags.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index fff18e43bdb..9c3788a79f1 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -162,6 +162,10 @@ A non-super-user tries to set one of .Dv SF_IMMUTABLE , SF_APPEND , or .Dv SF_NOUNLINK . +.It Bq Er EPERM +User tries to set or remove the +.Dv SF_SNAPSHOT +flag. .It Bq Er EROFS The named file resides on a read-only file system. .It Bq Er EFAULT