Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 15:19:19 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Ben Smithurst <csxbcs@comp.leeds.ac.uk>
Cc:        doc@FreeBSD.org, developers@FreeBSD.org
Subject:   Re: chmod +X
Message-ID:  <20010301151919.A860@sunbay.com>
In-Reply-To: <20010301121035.B2447@comp.leeds.ac.uk>; from csxbcs@comp.leeds.ac.uk on Thu, Mar 01, 2001 at 12:10:35PM %2B0000
References:  <20010301121035.B2447@comp.leeds.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 01, 2001 at 12:10:35PM +0000, Ben Smithurst wrote:
> According to
> http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/bin/chmod/chmod.1, the 'X'
> mode specifier is specified by POSIX.2, but our manual page says it
> isn't.  Could someone who knows please confirm one way or the other so I
> can fix our manual page if necessary?
> 
IEEE P1003.2 Draft 11.2 - September 1991:

| The perm symbol X shall represent the execute/search portion of the file
| mode bits if the file is a directory or if the current (unmodified) file
| mode bits have at least one of the execute bits (S_IXUSR, S_IXGRP, or
| S_IXOTH) set.

The current draft (IEEE Std 1003.1-200x Draft 5):

| The perm symbol X shall represent the execute/search portion of the file
| mode bits if the file is a directory or if the current (unmodified) file
| mode bits have at least one of the execute bits (S_IXUSR, S_IXGRP, or
| S_IXOTH) set.

The text has not changed for almost 10 years.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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