I recently installed jGRASP on ChromeOS Crostini (like debian linux). Whenever I try to run any .java file in the IDE, this is the output:
(Cannot run program "/home/aarnap/jgrasp_bdl206_16/jgrasp/internal_bin/sys_run": error=13, Permission denied)
Check permissions on the file.
This is despite the fact that I have modified the permissions of the file 'sys_run' multiple times
Steps I took to try and solve this problem:
Running the file myself via terminal works fine
Here is the output of ls -l
after chmod +x sys_run
:
rwxr-xr-x 1 aarnap aarnap 23104 Mar 28 16:38 sys_run
And the output after chmod 777 sys_run
-rwxrwxrwx 1 aarnap aarnap 23104 Mar 28 16:38 sys_run
Expected output: jGRASP does not give me a permission error and the .java file successfully launches Actual output: jGRASP gives me a permission error
Fixed; 'that other guy' comment was technically correct. I was using chmod by itself on each folder and its children instead of using chmod -R. The -R stands for recursive and greatly simplifies the process as you only need to do it on the parent folder.
So I ran: chmod -R jgrasp_bdl206_16