Millennium
Millennium copied to clipboard
[Bug] Millennium having wrong permissions after install with AUR
Before Reporting
- [x] I found no existing issues matching my bug
- [x] My issue is not caused by a theme
- [x] My issue is not caused by a plugin
Describe the Bug
So, the problem is that after the install through the AUR package, the user has the wrong permissions making it so millennium wouldn't work,also, the folder is owned by root instead of the user
Expected Behavior
Millennium working after patch
Steps To Reproduce
- Remove
steamandmillenniumfor a clean steam install - Install both, patch steam, open
- Find that it doesn't work and that the user doesn't have the right permissions on ~/.local/share/millennium
- Run
$ chmod-R u+rwX ~/.local/share/millennium` and fix the issue
Operating System
Linux
Anything else?
steam log before the permission fix
ERROR: ld.so: object '/usr/lib/millennium/libmillennium_x86.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Redirecting Steam output...
bin_steam.sh[62390]: Logging to console-linux.txt disabled via STEAM_RUNTIME_LOGGER
bin_steam.sh[62390]: Logging to console-linux.txt disabled via STEAM_RUNTIME_LOGGER
bin_steam.sh[62390]: Logging to console-linux.txt disabled via STEAM_RUNTIME_LOGGER
steam.sh[62390]: Running Steam on arch rolling 64-bit
steam.sh[62390]: STEAM_RUNTIME is enabled automatically
setup.sh[62440]: Steam runtime environment up-to-date!
steam.sh[62390]: Log already open
steam.sh[62390]: Using supervisor /home/imnotpolar/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam.sh[62390]: Steam client's requirements are satisfied
LIBPYTHON_BUILTIN_MODULES_DLL_PATH=/opt/python-i686-3.11.8/lib/python3.11/lib-dynload/
LIBPYTHON_BUILTIN_MODULES_PATH=/opt/python-i686-3.11.8/lib/python3.11/
LIBPYTHON_RUNTIME_BIN_PATH=/opt/python-i686-3.11.8/bin/python3.11
LIBPYTHON_RUNTIME_PATH=/opt/python-i686-3.11.8/lib/libpython-3.11.8.so
MILLENNIUM_RUNTIME_PATH=/usr/lib/millennium/libmillennium_x86.so
MILLENNIUM__ASSETS_PATH=/home/imnotpolar/.local/share/millennium/lib/assets
MILLENNIUM__CONFIG_PATH=/home/imnotpolar/.config/millennium
MILLENNIUM__DATA_LIB=/home/imnotpolar/.local/share/millennium/lib
MILLENNIUM__LOGS_PATH=/home/imnotpolar/.local/state/millennium/logs
MILLENNIUM__PLUGINS_PATH=/home/imnotpolar/.local/share/millennium/plugins
MILLENNIUM__PYTHON_ENV=/home/imnotpolar/.local/share/millennium/lib/cache
MILLENNIUM__SHIMS_PATH=/home/imnotpolar/.local/share/millennium/lib/shims
MILLENNIUM__STEAM_EXE_PATH=/home/imnotpolar/.steam/steam/ubuntu12_32/steam
MILLENNIUM__STEAM_PATH=/home/imnotpolar/.steam/steam/
MILLENNIUM__UPDATE_SCRIPT_PROMPT=paru -Syu millennium
MILLENNIUM__VERSION=v2.25.1
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[39:13.183] INFO Hooked main() with PID: 62503
[39:13.184] INFO Hooked __libc_start_main() /home/imnotpolar/.local/share/Steam/ubuntu12_32/steam
Updating LD_PRELOAD from [/usr/lib/millennium/libmillennium_x86.so] to []
[39:13.184] INFO Loaded Millennium on arch, system architecture x86_64
[39:13.185] INFO Hooked main() with PID: 62503
[39:13.185] INFO Loading python libraries from /opt/python-i686-3.11.8/lib/libpython-3.11.8.so
[39:13.185] ERROR An error occurred creating plugin directories -> filesystem error: cannot create directories: Permission denied [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.185] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:311
[39:13.186] ERROR Fall back exception caught trying to parse plugins. filesystem error: directory iterator cannot open directory: No such file or directory [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.186] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:353
[39:13.186] ERROR An error occurred creating plugin directories -> filesystem error: cannot create directories: Permission denied [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.186] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:311
[39:13.186] ERROR Fall back exception caught trying to parse plugins. filesystem error: directory iterator cannot open directory: No such file or directory [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.186] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:353
[39:13.187] INFO Ports: { FTP: 47233, IPC: 49465 }
[39:13.187] INFO Verifying Python environment...
ERROR: unsafe call to unsetenv count:1 var:'__PYVENV_LAUNCHER__'
[2025-04-14 05:39:13] Startup - updater built Apr 2 2025 00:27:22
[2025-04-14 05:39:13] Startup - Steam Client launched with: '/home/imnotpolar/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
ERROR: unsafe call to unsetenv count:2 var:'__PYVENV_LAUNCHER__'
[1969-12-31 21:00:00] Process started with command-line: '/home/imnotpolar/.local/share/Steam/ubuntu12_32/steam' '-child-update-ui' '-child-update-ui-socket' '32' '-srt-logger-opened'
04/14 05:39:13 minidumps folder is set to /tmp/dumps
[2025-04-14 05:39:13] Loading cached metrics from disk (/home/imnotpolar/.local/share/Steam/package/steam_client_metrics.bin)
[2025-04-14 05:39:13] Using the following download hosts for Public, Realm steamglobal
[2025-04-14 05:39:13] 1. https://client-update.fastly.steamstatic.com, /, Realm 'steamglobal', weight was 900, source = 'update_hosts_cached.vdf'
[2025-04-14 05:39:13] 2. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2025-04-14 05:39:13] 3. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
04/14 05:39:13 minidumps folder is set to /tmp/dumps
[2025-04-14 05:39:13] Verifying installation...
[2025-04-14 05:39:13] Verifying file sizes only
[39:13.210] INFO Starting plugin backends...
[39:13.211] INFO Opting to use '8080' for SteamDBG port
[39:13.211] INFO Injecting webkit shims...
[39:13.211] ERROR An error occurred creating plugin directories -> filesystem error: cannot create directories: Permission denied [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.211] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:311
[39:13.211] ERROR Fall back exception caught trying to parse plugins. filesystem error: directory iterator cannot open directory: No such file or directory [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.211] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:353
[39:13.211] ERROR An error occurred creating plugin directories -> filesystem error: cannot create directories: Permission denied [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.211] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:311
[39:13.211] ERROR Fall back exception caught trying to parse plugins. filesystem error: directory iterator cannot open directory: No such file or directory [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.211] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:353
[39:13.211] ERROR An error occurred creating plugin directories -> filesystem error: cannot create directories: Permission denied [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.211] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:311
ERROR: unsafe call to unsetenv count:3 var:'__PYVENV_LAUNCHER__'
[39:13.211] ERROR Fall back exception caught trying to parse plugins. filesystem error: directory iterator cannot open directory: No such file or directory [/home/imnotpolar/.local/share/millennium/plugins]
[39:13.211] TRACE std::vector<SettingsStore::PluginTypeSchema> SettingsStore::ParseAllPlugins() @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/sys/settings.cc:353
[39:13.211] INFO Starting frontend socket...
[39:13.212] INFO Startup took 26 ms
[39:13.212] WARN Joining browser socket thread 0xe8c0432c
[39:13.216] INFO Started preloader module
[39:13.216] INFO Starting package manager thread @ /home/imnotpolar/.local/share/millennium/lib/assets/pipx/main.py
[1969-12-31 21:00:00] Using update UI: xwin
04/14 05:39:13 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(62519)
[2025-04-14 05:39:13] Create window
[2025-04-14 05:39:13] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/imnotpolar/.local/share/Steam/logs
[39:13.337] PIPX Starting Package Manager...
[39:13.342] PIPX checking for packages on Linux
[39:13.342] PIPX Installed packages:
[39:13.356] PIPX cssutils==2.11.1
[39:13.356] PIPX GitPython==3.1.44
[39:13.356] PIPX setuptools==75.8.2
[39:13.356] PIPX pyperclip==1.9.0
[39:13.356] PIPX smmap==5.0.2
[39:13.356] PIPX arrow==1.3.0
[2025-04-14 05:39:13] ProcessNextMessage: socket disconnected
[39:13.356] PIPX pip==25.0.1
[2025-04-14 05:39:13] No more messages are expected - exiting
[39:13.356] PIPX certifi==2025.1.31
[39:13.356] PIPX PySocks==1.7.1
[39:13.356] PIPX types-python-dateutil==2.9.0.20241206
[39:13.356] PIPX charset-normalizer==3.4.1
[39:13.356] PIPX python-dateutil==2.9.0.post0
[39:13.356] PIPX requests==2.32.3
[39:13.356] PIPX six==1.17.0
[39:13.356] PIPX idna==3.10
[39:13.356] PIPX gitdb==4.0.12
[39:13.356] PIPX websockets==15.0.1
[39:13.356] PIPX watchdog==6.0.0
[39:13.356] PIPX psutil==7.0.0
[39:13.356] PIPX urllib3==2.3.0
[39:13.356] PIPX more-itertools==10.6.0
Traceback (most recent call last):
File "/home/imnotpolar/.local/share/millennium/lib/assets/pipx/main.py", line 35, in <module>
main()
File "/home/imnotpolar/.local/share/millennium/lib/assets/pipx/main.py", line 30, in main
package_manager.audit(config)
File "/home/imnotpolar/.local/share/millennium/lib/assets/pipx/package_manager.py", line 126, in audit
packages = needed_packages()
^^^^^^^^^^^^^^^^^
File "/home/imnotpolar/.local/share/millennium/lib/assets/pipx/package_manager.py", line 79, in needed_packages
for plugin in json.loads(find_all_plugins(logger)):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/imnotpolar/.local/share/millennium/lib/assets/core/api/plugins.py", line 39, in find_all_plugins
search_dirs(subdir, plugins, logger if _logger is None else _logger)
File "/home/imnotpolar/.local/share/millennium/lib/assets/core/api/plugins.py", line 21, in search_dirs
for theme in [d for d in os.listdir(m_path) if os.path.isdir(os.path.join(m_path, d))]:
^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/imnotpolar/.local/share/millennium/plugins'
[39:13.357] ERROR Failed to run PIPX preload
[39:13.357] TRACE StartPreloader(PythonManager&)::<lambda(SettingsStore::PluginTypeSchema)> @ /home/imnotpolar/.cache/paru/clone/millennium/src/millennium/src/core/loader.cc:357
[39:13.357] INFO Plugin 'pipx' finished delegating callback function...
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xeb70a370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xeb708cc0
04/14 05:39:13 minidumps folder is set to /tmp/dumps
04/14 05:39:13 Init: Installing breakpad exception handler for appid(steamsysinfo)/version(1743554648)/tid(62531)
Running query: 1 - GpuTopology
Response: gpu_topology {
gpus {
id: 1
name: "NVIDIA GeForce RTX 3060"
vram_size_bytes: 12884901888
driver_id: k_EGpuDriverId_NvidiaProprietary
driver_version_major: 570
driver_version_minor: 133
driver_version_patch: 7
}
default_gpu_id: 1
}
Exit code: 0
Saving response to: /tmp/steamMNpDEF - 49 bytes
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 62650
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
[39:16.120] INFO Connected to Steam @ 0xe83fbf00```