Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: Re: 1.5.16-1: chmod problem Date: Wed, 4 May 2005 06:53:53 +0200 Message-ID: From: "Pach Roman (GS-EC/ESA4) *" To: X-OriginalArrivalTime: 04 May 2005 04:53:53.0947 (UTC) FILETIME=[459886B0:01C55065] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j444s46C014079 I admit I'm stubborn about this topic but I'd like to propose the change of chmod implementation. I thing, it would be nice if the 'chmod +/-w' would have in the discussed case the same functionality as the Windows' command 'attrib'. See please the appended screenshot. U:\tmp>ls -l yahoo -rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo U:\tmp>attrib +r yahoo U:\tmp>ls -l yahoo -r--r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo U:\tmp>attrib -r yahoo U:\tmp>ls -l yahoo -rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo U:\tmp>chmod -w yahoo chmod: changing permissions of `yahoo': Permission denied U:\tmp>ls -l yahoo -rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo U:\tmp>chmod +w yahoo chmod: changing permissions of `yahoo': Permission denied U:\tmp>ls -l yahoo -rw-r--r-- 1 ropach mkpasswd 5 Apr 29 07:35 yahoo Roman -- 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/