delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/26/13:48:46

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Changing Windows "hidden" and "system" attributes?
Date: Thu, 26 Oct 2006 18:47:32 +0100
Lines: 18
Message-ID: <ehqsbl$dpe$1@sea.gmane.org>
References: <loom DOT 20061026T132712-881 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

* Lloyd Zusman (Thu, 26 Oct 2006 11:31:39 +0000 (UTC))
> Aside from using "cmd /c attrib", is there a way in cygwin for me to
> change the Windows "hidden" or "system" attributes of a file?

Yes, "attrib" (without the "cmd /c")

> There don't seem to be any extensions to chmod that will accomplish
> this,

There is no concept of hidden or system as a file attribute in Linux. 
It's achieved via a leading dot in the file name...

> and I'm wondering if there is a cygwin-specific utility that I might
> be able to use for this purpose.

Why should there be one?!

Thorsten


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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