this post was submitted on 26 Dec 2024
7 points (88.9% liked)

Raspberry Pi

1011 readers
2 users here now

Welcome to the programming.dev Raspberry Pi community!

Raspberry Pi is a series of small single-board computers. It is widely used in many areas because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists.

Rules

Members of this community are expected to exhibit mature and respectful behavior.

Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

Please keep discussions in English so that they can be appropriately moderated.

Links

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 4 weeks ago (1 children)

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

[โ€“] arudesalad 2 points 4 weeks ago* (last edited 4 weeks 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.