-.\" $OpenBSD: chmod.2,v 1.23 2013/07/17 05:42:11 schwarze Exp $
+.\" $OpenBSD: chmod.2,v 1.24 2014/01/11 19:23:39 espie Exp $
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\"
.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: January 11 2014 $
.Dt CHMOD 2
.Os
.Sh NAME
argument specifies a relative path and the
.Fa fd
argument is a valid file descriptor but it does not reference a directory.
+.It Bq Er EOPNOTSUPP
+The
+.Fa flag
+argument specifies
+.Dv AT_SYMLINK_NOFOLLOW
+on a symbolic link and the file system does not support that operation.
.It Bq Er EACCES
The
.Fa path