We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Posts: 25
Registered: ‎03-12-2018

BUG: Vivado: non-executable .tcl files shall not have +x flag

There are thousands of *.tcl files, which are not directly executable (no interpreter directive), but have +x flag set.

Accidentially trying to execute them can (depending on currently used shell) lead to problematic situations, even data loss or security vulnerabilities.


Fix: remove the +x flag.


Posts: 3,653
Registered: ‎11-09-2015

Re: BUG: Vivado: non-executable .tcl files shall not have +x flag

Hi @metux,


I general, this is not an issue for most files.  For example, if someone attempts to execute a readme file, nothing will happen even though it has x permissions.  Giving x permission is a system default and unless the umask is set to turn it off or Xilinx explicitly turns it off for a specific file it will be set.  Xilinx does not typically restrict any file permissions unless there is a need.

Product Application Engineer - Xilinx Technical Support EMEA
Don't forget to reply, kudo, and accept as solution.
Posts: 25
Registered: ‎03-12-2018

Re: BUG: Vivado: non-executable .tcl files shall not have +x flag

Same as here:


Please make yourself confident with the essential basics of the operating system before making such completely wrong claims.