UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor metux
Visitor
752 Views
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.

 

0 Kudos
2 Replies
Moderator
Moderator
650 Views
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.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Visitor metux
Visitor
611 Views
Registered: ‎03-12-2018

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

Same as here:

https://forums.xilinx.com/t5/General-Technical-Discussion/BuG-Vivado-shared-objects-are-not-executable-and-should-not-have/m-p/841395/highlight/false#M40997

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