Date: Fri, 01 Jun 2001 14:02:37 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Daniel Taupin Message-Id: <7263-Fri01Jun2001140235+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3B17629C.B7A62B67@lps.u-psud.fr> (message from Daniel Taupin on Fri, 01 Jun 2001 11:38:36 +0200) Subject: Re: Changing file protections References: <3B17629C DOT B7A62B67 AT lps DOT u-psud DOT fr> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 01 Jun 2001 11:38:36 +0200 > From: Daniel Taupin > > Info chmod ist not explicite Please consider telling what's not explicit there. > How can one use chmod to set/remove the "hidden" "system reserved" > "archive" "read only" arributes of file? Only the read-only attribute is supported by chmod, since other attributes are DOS- and Windows-specific. To remove the read-only attribute, say this: chmod u+w file > If there is none, is there a C routine/subroutine abel to chenge these > specific Windows/DOS attributes? You mean, like ATTRIB ? ;-) Try "attrib /?" for some usage info.