You are not logged in.
Pages: 1
Hi,
I tried adding another SSD to my system for additional storage. I partitioned it, mounted it and added it to my fstab file. I can see it in Dolphin (I'm using Plasma) but I can't write any data on it.
I'd be grateful for any help
In case it's necessary:
Here's my partitioning scheme:
Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D30FB91E-8718-8F47-8253-9261EA2502EC
Device Start End Sectors Size Type
/dev/sda1 2048 3907028991 3907026944 1.8T Linux filesystem
Disk /dev/nvme0n1: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDS250G3X0C-00SJG0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8EF790A5-A9BC-8C41-8452-A94766E42DAB
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1128447 1126400 550M EFI System
/dev/nvme0n1p2 1128448 488396799 487268352 232.3G Linux filesystemand my fstab file
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=8436ef3e-40eb-457f-83d3-a06b384b6d2b / ext4 rw,relatime 0 1
# /dev/sda1
UUID=a61cf19c-c05f-446f-acac-dd3611263647 /home/"my user"/extra ext4 defaults 0 1Last edited by shadf1g (2023-02-26 00:53:50)
Offline
stat /home/"your user"/extraHint: it's ext4, that's a real file system w/ real permission handling and it doesn't matter where you mount it or who owns the mountpoint: if you've no writing rights on the root of the filesystem, you're not writing there.
=> man chmod/chown
Offline
So the commands
chown "my user" /home/"my user"/extraand
chmod g=rwx /home/"my user"/extrawould both do the trick here? Did I get this right?
Offline
Pages: 1