GNU bug report logs - #10735
chmod +x file

Previous Next

Package: coreutils;

Reported by: francky.leyn <at> telenet.be

Date: Mon, 6 Feb 2012 14:25:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 10735 <at> debbugs.gnu.org (full text, mbox):

From: francky.leyn <at> telenet.be
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 10735 <at> debbugs.gnu.org, Francky Leyn <francky <at> leyn.eu>,
	Bob Proulx <bob <at> proulx.com>
Subject: Re: bug#10735: chmod +x
Date: Tue, 07 Feb 2012 16:59:38 +0100 (CET)
Dear Paul,

thanks for your reply, but this was not what I meant.

I have scripts that work fine on a full Linux platform (ext filesystem).
However, if I use those scipts (that use chmod +x), I get a lot of warnings.
Thing I dislike to see, and are confusing.

I was wondering wether I couldn't write something like

if [not on NTFS filesystem] then
  chmod +x

or

[on NTFS filesystem] || chmod +x ...

Best regards,

Francky


----- Oorspronkelijk e-mail -----
> On 02/07/2012 05:49 AM, francky.leyn <at> telenet.be wrote:
> > is there any way I could suppress the warning given by chmod +x?
> 
> You can suppress all warnings with the shell command:
> 
> chmod +x file 2>/dev/null;:
> 
> This is usually not a good idea.  The warnings are there
> for a reason.
> 




This bug report was last modified 13 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.