carla
carla copied to clipboard
Remove the chmod from CarlaUE4.sh
A few CARLA users at my organization, as well as users here (Issue #2602), appear to be encountering the following 'error' when running 'CarlaUE4.sh' from a carla deployment where they don't have full file permissions:
chmod: changing permissions of '/path/to/CarlaUE4-Linux-Shipping': Operation not permitted
This can lead to red-herrings when the chmod isn't necessarily the problem they are experiencing. Some users even mitigate the error by adding a sudo, which is overkill.
This is generated via UnrealEngine. If there is a way via configuration file to prevent UnrealEngine by way CARLA from generating it, it would be useful to those deploying CARLA in shared directories where it isn't advisable to give users write permissions, instead of having to delete the line from the generated shell script.
@qhaas Thank you for the input and patience
@bernatx would you be able to have a look at this please?
i am having the same issue
I am able to run carla with -opengl tag from my terminal.
But I get a similar error while trying to execute it via Jenkins.
chmod: changing permissions of '/home/saquib/CARLA_0.9.10/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping': Operation not permitted
Failed to load cookie file from cookie: Permission denied
Failed to load cookie file from cookie: Permission denied
Failed to load cookie file from cookie: Permission denied
Failed to load cookie file from cookie: Permission denied
I don't understand the issue here.
Since this looks to be an upstream 'feature', I asked over in UE Answers
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am able to run carla with
-opengltag from my terminal.But I get a similar error while trying to execute it via Jenkins.
chmod: changing permissions of '/home/saquib/CARLA_0.9.10/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping': Operation not permitted Failed to load cookie file from cookie: Permission denied Failed to load cookie file from cookie: Permission denied Failed to load cookie file from cookie: Permission denied Failed to load cookie file from cookie: Permission deniedI don't understand the issue here.
-opengl is no longer available on desktop, try -vulkan but my issue was still there
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
A few CARLA users at my organization, as well as users here (Issue #2602), appear to be encountering the following 'error' when running 'CarlaUE4.sh' from a carla deployment where they don't have full file permissions:
chmod: changing permissions of '/path/to/CarlaUE4-Linux-Shipping': Operation not permittedThis can lead to red-herrings when the chmod isn't necessarily the problem they are experiencing. Some users even mitigate the error by adding a sudo, which is overkill.
This is generated via UnrealEngine. If there is a way via configuration file to prevent UnrealEngine by way CARLA from generating it, it would be useful to those deploying CARLA in shared directories where it isn't advisable to give users write permissions, instead of having to delete the line from the generated shell script.
Hi, I have been facing the same issue on WSL. did you manage to resolve it ? if so, could you tell me how did you do you it ?
Hi, I have been facing the same issue on WSL. did you manage to resolve it ? if so, could you tell me how did you do you it ?
You can just remove the chmod line from the generated shell script used to launch carla, after ensuring that the binary it launches has execute permissions. Since it is generated code, you have to manually do this each time you compile it or download it.