Announcement

Collapse
No announcement yet.

Something wrong with permissions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Something wrong with permissions

    Hello! I use kubuntu 22.04 and faced with permission issues. I have two problems:

    1. I use several ssd. One for Windows, one for kubuntu and one for file storage. File storage ssd have to use ntfs because I use it on both systems.
    Kubuntu mounts ntfs ssd automatically and it worked well, but currently something happend.
    On my ~/Downloads directory I can't create or update any files, can only read. By sudo it works.
    ~/Downloads is symlink to /media/username/storage/Downlods
    How is it possible if mounted ntfs should be opened for reading and writing?

    Permission in home directory:
    Code:
     $ ls -l
    total 11728
    drwxrwxr-x  2 username username    4096 Apr 11  2023  apt-history
    drwxr-xr-x  2 username username    4096 May 18 18:32  Desktop
    drwxr-xr-x  5 username username    4096 Feb  8  2023  Documents
    lrwxrwxrwx  1 username username      31 May  6  2020  Downloads -> /media/username/storage/Downloads
    lrwxrwxrwx  1 username username      27 May  6  2020  Music -> /media/username/storage/Music
    drwxrwxr-x 23 username username    4096 Jun 26  2021  node_modules
    drwxrwxr-x  3 username username    4096 Mar 13  2023  opt
    drwx------  2 username username    4096 Feb  8  2023  Parsec
    lrwxrwxrwx  1 username username      30 May  6  2020  Pictures -> /media/username/storage/Pictures
    drwxr-xr-x  2 username username    4096 May  5  2020  Public
    drwx------ 11 username username    4096 Apr 11  2023  snap
    drwxrwxr-x  3 username username    4096 Aug 31  2021  Steam
    -rw-rw-r--  1 username username 3953014 Feb  8 18:08  steam.deb
    drwxrwxr-x  3 username username   12288 Jun  2 16:22 'Telegram Desktop'
    lrwxrwxrwx  1 username username      28 May  6  2020  Videos -> /media/username/storage/Videos
    drwxrwxr-x  2 username username    4096 Apr 24  2023  www​​
    In Downloads:
    Code:
    -rwxr-xr-x 1 username username    10776391 May 10 17:58 '_- 01-03s.webm'
    -rwxr-xr-x 1 username username   266042567 May 12 21:02 '_- 13-14s.webm'
    -rwxr-xr-x 1 username username  1993905105 Apr 28 23:18 '2024-04-28 23-08-27.mkv'
    -rwxr-xr-x 1 username username  2783989417 Apr 28 23:34 '2024-04-28 23-19-49.mkv'
    -rwxr-xr-x 1 username username  4402119728 Apr 28 23:58 '2024-04-28 23-35-24.mkv'
    -rwxr-xr-x 1 username username  1591175909 Apr 29 00:08 '2024-04-29 00-00-38.mkv'
    -rwxr-xr-x 1 username username  2619431880 Apr 29 00:36 '2024-04-29 00-22-53.mkv'
    -rwxr-xr-x 1 username username  2740307529 Apr 29 00:51 '2024-04-29 00-37-40.mkv'​
    Could you help? Previously it worked fine. I wanted to see configuration of mouning, but in settings I also have an issue. When I open System Settings -> Removable Storage -> Removable Devices it lagged and don't open the settings. I see only loading icon instead of cursor. Maybe these two problems are related.

    2. Steam doesn't work correctly because something wrong with mounting/permissions.

    So, I guilty on this issue because I wanted to clear my home directory and moved ~/.steam directory to ntfs ssd with creation symlink. But after this I proton's games in my steam library were broken (don't open and can't sync saves). Even I removed symlink and re-installed steam I still have same problem.
    On console I see the following errors:

    Code:
    src/clientdll/autocloud.cpp (509) : Assertion Failed: AutoCloud failed to write session info to /media/username/games/SteamLibrary/steamapps/compatdata/2497920/pfx/drive_c/users/steamuser/AppData/LocalLow/Pontypants/A Difficult Game About Climbing/steam_autocloud.vdf
    src/clientdll/autocloud.cpp (509) : Assertion Failed: AutoCloud failed to write session info to /media/username/games/SteamLibrary/steamapps/compatdata/2497920/pfx/drive_c/users/steamuser/AppData/LocalLow/Pontypants/A Difficult Game About Climbing/steam_autocloud.vdf
    src/clientdll/remotestoragefilesynccontext.cpp (947) : Assertion Failed: Failed to write file after download (2)
    
    src/clientdll/remotestoragefilesynccontext.cpp (947) : Assertion Failed: Failed to write file after download (2)
    
    src/clientdll/remotestoragefilesynccontext.cpp (947) : Assertion Failed: Failed to write file after download (2)
    
    src/clientdll/remotestoragefilesynccontext.cpp (947) : Assertion Failed: Failed to write file after download (2)
    ​
    Code:
    Fossilize INFO: Setting autogroup scheduling.
    /bin/sh\0-c\0/home/username/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1942280 -- /home/username/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/media/username/games/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)'/proton waitforexitandrun  '/media/username/games/SteamLibrary/steamapps/common/Brotato/Brotato.exe'\0
    chdir "/media/username/games/SteamLibrary/steamapps/common/Brotato"
    ERROR: ld.so: object '/home/username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/username/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/home/username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/username/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    Traceback (most recent call last):
      File "/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)/proton", line 1545, in <module>
        g_session.init_session(sys.argv[1] != "runinprefix")
      File "/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)/proton", line 1455, in init_session
        g_compatdata.setup_prefix()
      File "/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)/proton", line 776, in setup_prefix
        with self.prefix_lock:
      File "/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)/filelock.py", line 323, in __enter__
        self.acquire()
      File "/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)/filelock.py", line 271, in acquire
        self._acquire()
      File "/media/username/games/SteamLibrary/steamapps/common/Proton 9.0 (Beta)/filelock.py", line 384, in _acquire
        fd = os.open(self._lock_file, open_mode)
    NotADirectoryError: [Errno 20] Not a directory: '/media/username/games/SteamLibrary/steamapps/compatdata/1942280/pfx.lock'
    Uploaded AppInterfaceStats to Steam
    src/clientdll/remotestoragefilesynccontext.cpp (947) : Assertion Failed: Failed to write file after download (2)
    
    src/clientdll/remotestoragefilesynccontext.cpp (947) : Assertion Failed: Failed to write file after download (2)
    ​

    #2
    Hello! Sorry, I fixed the first one issue. I just change permissions in properties of the folder.

    Maybe someone knows how to fix the second one?
    Attached Files

    Comment

    Working...
    X