Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

Beginners • Re: Accessing Solid State Drive

$
0
0
Did you reformat those partitions or just change the filesystem type?

Assuming you formatted them to ext4, they'll only be writeable by root.

Simplest, and least secure, fix is to grant write permissions to all users:

Code:

sudo chmod a+w /media/<user>/<partition>
Replace <user> with your current user name and <partition> with the name of the subdirectory where the partition has been mounted e.g.

Code:

sudo chmod a+w /media/foo/bar
If you want to do things properly (and more securely):

Code:

sudo chown <username>:<groupname> /media/<user>/<partition>
<groupname> is usually, but not always, the same as your username. This will allow write access by the <username> you supply but deny it to all others except root

If you need more info, read up on how Linux owner, group, and permissions work and see the output from

Code:

man chmodman chown

Statistics: Posted by thagrol — Tue May 06, 2025 5:51 pm



Viewing all articles
Browse latest Browse all 8023

Trending Articles