I have an external SSD which was automatically mounted to /media/user/longstring. The first thing I did reformat it to ext4. After a reboot, longstring hasn’t changed but everything I put on the SSD is gone and I can’t cd into it or ls without sudo.

  • Blaster M@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    1: Did you throw data into it before or after the format?

    2: Permissions issue. You need to add permissions for yourself to access that mount point, whether it’s setting those perms in /etc/fstab, chown/chmod the dir and below, or facl

    • arudesaladOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 day ago

      1: after 2: I had already done that, the permissions got reset after reboot

      I ended up solving the problem by remounting it from /media/ to /mnt/

      I still have no idea what caused the problem originally though.

  • lurch (he/him)
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    it should show up with all other mounted file systems when you just ener “mount” into a terminal. can you copypaste or screenshot that for us. maybe it helps seeing the options

    • arudesaladOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 day ago

      I ended up solving the problem by remounting it from /media/ to /mnt/

      I still have no idea what caused the problem originally though.

  • arudesaladOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I didn’t have any important data on it so I don’t need to worry about data recovery