VREP Linux: potentially harmful file permissions

Report crashes, strange behaviour, or apparent bugs
Post Reply
renaud.detry
Posts: 16
Joined: 24 May 2013, 16:29

VREP Linux: potentially harmful file permissions

Post by renaud.detry » 01 Dec 2013, 10:58

Hello,

Looking at the UNIX file permissions in the Linux vrep archive, lots of files are not readable by a user other than the owner or his group. For instance:

Code: Select all

drwxr-xr-x  2 detryr staff     4096 Oct  2 15:19 platformthemes/
drwxr-x--- 27 detryr staff     4096 Oct 24 22:38 programming/
-rw-r--r--  1 detryr staff     1400 Oct 25 11:47 readme.txt
-rwxr-x---  1 detryr staff      893 Nov 29 18:25 remoteApiConnections.txt*
-rwxr-xr-x  1 detryr staff   889748 Oct  6 19:22 rosBubbleRob*
drwxr-x---  2 detryr staff     4096 Oct 24 22:38 scenes/
drwxr-xr-x  2 detryr staff     4096 Oct  2 15:20 sensors/
drwxr-x---  2 detryr staff     4096 Mar 22  2012 socket/
-rwxr-x---  1 detryr staff     4061 Mar 22  2012 socket.lua*
drwxr-x---  2 detryr staff     4096 Nov 29 18:35 system/
drwxr-x---  7 detryr staff     4096 Oct 24 22:38 tutorials/
-rw-r--r--  1 detryr staff       31 Nov 29 18:35 updateCheck.dat
-rwxr-xr-x  1 detryr staff    97975 Oct  2 22:56 vrep*
-rwxr--r--  1 detryr staff      601 May 21  2013 vrep.sh*
The permissions seem quite arbitrary. Making sure all files are readable by "o" will certainly avoid problems that would otherwise be hard to debug.

R.

coppelia
Site Admin
Posts: 6736
Joined: 14 Dec 2012, 00:25

Re: VREP Linux: potentially harmful file permissions

Post by coppelia » 02 Dec 2013, 13:31

Hello Renaud,

Perfectly agree. Will be changed in future.

Cheers

Post Reply