Search Unity

Question I could not run the executable. (chmod not working somehow)

Discussion in 'Linux' started by Nickromancer, Dec 17, 2021.

  1. Nickromancer

    Nickromancer

    Joined:
    Jul 31, 2016
    Posts:
    92
    Sorry to ask such newbie question but I am a windows user and could not run the executable after copied the files to ubuntu. I searched the internet and learned about the permission issue.

    Code (CSharp):
    1. -rw-rw-rw- 1 ubuntu ubuntu 31879880 Dec 17 22:31 UnityPlayer.so
    2. -rw-rw-rw- 1 ubuntu ubuntu    14800 Dec 17 22:31 game.x86_64
    3. drwxrwxrwx 1 ubuntu ubuntu        0 Dec 17 22:31 game_Data
    From what I see, the .x86_64 file is missing executable permission.

    The problem that I tried

    Code (CSharp):
    1. $ chmod +x game.x86_64
    2. $ chmod u+x game.x86_64
    3. $ chmod 766 game.x86_64
    but none of them change the x flag for the game.x86_64. Anyone know what is going on?
     
  2. Nickromancer

    Nickromancer

    Joined:
    Jul 31, 2016
    Posts:
    92
    Solved. The file is inside a shared folder which I have not right to change the file permission.