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

Raspberry Pi

1011 readers
1 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.

top 3 comments
sorted by: hot top controversial new old
[–] [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

[–] [email protected] 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.

[–] [email protected] 2 points 4 weeks ago

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