GNU bug report logs -
#10735
chmod +x file
Previous Next
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
View this message in rfc822 format
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 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.