View Single Post
  #290  
Old 03-26-2020, 11:59 AM
Benanov Benanov is offline
Sarnak


Join Date: Jun 2019
Posts: 353
Default

Quote:
Originally Posted by loramin [You must be logged in to view images. Log in or Register.]
"+x" is UNIX-speak for "add executable permissions to the file". UNIX controls which users on your computer can access which files in three ways: it can let a use read (R), write (ie modify; W), or execute (ie. run; X) that file.

When you right-click on the file and choose properties, or at the command line by using the "chmod" command, you can change which permissions a user has on a file. When you do it at the command line, you use pluses and minuses to add/remove permissions. For instance "chmod a+x foo.file" would give ("+") execute ("x") permissions to all ("a") users on foo.file.
To follow up on this, a while back most linux distributions require .desktop files to be executable or they would not show up as shortcuts. It is a security thing.

.sh files always needed to be executable.

Sorry for the shorthand.
__________________
Benanov - ERU CLR
Jakorsis - IKS SHD (retired)
Reply With Quote