Hello,
While pulling the latest obs-studio (both 'master' and latest release tag "25.0.7") I've run into the situation where the install phase is changing the permissions on "/usr", "/usr/bin", and "/usr/lib" to 750 rendering the system useless for non-root users (including super users, since 'sudo' is in '/usr/bin'!).
I was able to reboot into SU mode and repair (hopefully fully?) the issue with:
After fixing I tried again (this time with a root shell open elsewhere) and here is the results of an 'ls' immediately before and after running make install:
This is on an Ubuntu 18.04 LTS machine:
I'm not attaching a log as requested because I haven't actually been able to run obs yet, but this seems more like a CMakeLists issue than an code issue.
Is this something I configured incorrectly and/or an issue with my system? Or is there an error in the cmake configuration?
While pulling the latest obs-studio (both 'master' and latest release tag "25.0.7") I've run into the situation where the install phase is changing the permissions on "/usr", "/usr/bin", and "/usr/lib" to 750 rendering the system useless for non-root users (including super users, since 'sudo' is in '/usr/bin'!).
I was able to reboot into SU mode and repair (hopefully fully?) the issue with:
Bash:
root@localhost:/# chmod a+rx usr; chmod a+rx usr/bin; chmod a+rx usr/lib/
After fixing I tried again (this time with a root shell open elsewhere) and here is the results of an 'ls' immediately before and after running make install:
Bash:
root@localhost:/# ls -lah /usr
total 200K
drwxr-xr-x 10 root root 4.0K Feb 28 2018 .
drwxr-xr-x 24 root root 4.0K Apr 9 06:26 ..
drwxr-xr-x 2 root root 104K Apr 23 15:43 bin
drwxr-xr-x 2 root root 4.0K Jan 24 2019 games
drwxr-xr-x 179 root root 20K Apr 23 15:43 include
drwxr-xr-x 171 root root 24K Apr 23 15:43 lib
drwxr-xr-x 10 root root 4.0K Feb 28 2018 local
drwxr-xr-x 2 root root 12K Apr 15 14:21 sbin
drwxr-xr-x 346 root root 12K Apr 23 11:44 share
drwxr-xr-x 8 root root 4.0K Apr 23 12:04 src
root@localhost:/# ls -lah /usr
total 200K
drwxr-x--- 10 root root 4.0K Feb 28 2018 .
drwxr-xr-x 24 root root 4.0K Apr 9 06:26 ..
drwxr-x--- 2 root root 104K Apr 23 17:16 bin
drwxr-xr-x 2 root root 4.0K Jan 24 2019 games
drwxr-xr-x 179 root root 20K Apr 23 15:43 include
drwxr-x--- 171 root root 24K Apr 23 17:16 lib
drwxr-xr-x 10 root root 4.0K Feb 28 2018 local
drwxr-xr-x 2 root root 12K Apr 15 14:21 sbin
drwxr-xr-x 346 root root 12K Apr 23 11:44 share
drwxr-xr-x 8 root root 4.0K Apr 23 12:04 src
root@localhost:/#
This is on an Ubuntu 18.04 LTS machine:
Bash:
john@localhost:~/obs_test$ uname -a
Linux localhost 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
john@localhost:~/obs_test$ cmake --version
cmake version 3.17.0-rc3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
john@localhost:~/obs_test$
I'm not attaching a log as requested because I haven't actually been able to run obs yet, but this seems more like a CMakeLists issue than an code issue.
Is this something I configured incorrectly and/or an issue with my system? Or is there an error in the cmake configuration?