delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/28/12:19:33

Date: Fri, 28 Feb 2003 12:19:09 -0500
Message-Id: <200302281719.h1SHJ9T11398@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <3E5F8838.F864E614@phekda.freeserve.co.uk> (message from Richard
Dawe on Fri, 28 Feb 2003 16:03:04 +0000)
Subject: Re: fchmod, revision 4 [PATCH]
References: <200302281348 DOT OAA13260 AT lws256 DOT lu DOT erisoft DOT se> <3E5F8838 DOT F864E614 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > Is it really called mode?
> 
> Yes. The parameter is "mode_t mode".
> 
> > I call it permissions.
> 
> So do I. But mode & permissions are interchangeable.

Since fchmod is short for "file change mode" and since the mode bits
include such bits as file type and setuid/setgid functionality, "mode"
is more correct than "permissions".  It just turns out that the only
mode bits you can change happen to be the permission bits.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019