carla icon indicating copy to clipboard operation
carla copied to clipboard

Remove the chmod from CarlaUE4.sh

Open qhaas opened this issue 5 years ago • 8 comments

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 avatar Dec 02 '20 18:12 qhaas

@qhaas Thank you for the input and patience

@bernatx would you be able to have a look at this please?

corkyw10 avatar Mar 08 '21 15:03 corkyw10

i am having the same issue

parth3153 avatar Mar 09 '21 08:03 parth3153

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.

Saquib764 avatar Apr 12 '21 12:04 Saquib764

Since this looks to be an upstream 'feature', I asked over in UE Answers

qhaas avatar Jul 07 '21 12:07 qhaas

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.

stale[bot] avatar Apr 28 '22 06:04 stale[bot]

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.

-opengl is no longer available on desktop, try -vulkan but my issue was still there

aliraeisdanaei avatar Mar 03 '23 20:03 aliraeisdanaei

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.

stale[bot] avatar Jun 01 '23 18:06 stale[bot]

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.

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 ?

eyabesbes avatar Apr 21 '24 21:04 eyabesbes

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.

qhaas avatar Sep 11 '24 16:09 qhaas