#[SOLVED]my ssd is mounted but i cant create new folder in it and saying i don have permission to it
47 messages · Page 1 of 1 (latest)
Where is the mount point?
i dont know how to check that
Please post the output of
lsblk -f
/run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
Can you confirm that this is the mount point for the SSD in question?
yep that is the one
What is the full output of
stat /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
Device: 8,1 Inode: 2 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-07-30 00:53:42.588622828 +0000
Modify: 2023-07-30 00:53:13.000000000 +0000
Change: 2023-07-30 00:53:13.000000000 +0000
Birth: 2023-07-30 00:53:13.000000000 +0000
also let's see that mount option
chown user:user /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
The root directory of the SSD's file system is owned by root, which you can't write to as an unprivileged user.
yep it is saying cannot access i switch to root and try that again
This command must be run as root, e.g. with su, sudo or doas.
No such file or directory
Could you please post the FULL output of
lsblk -f
da
└─sda1 ext4 1.0 f53d4fb5-b83b-4a04-8bf1-c90755c13159 434.1G 0% /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
Would you be so kind as to format this output correctly with a markdown code block?
how do i do that....
gparted is the only tool i have to manage disk
```
code here
```
Since the previous stat command gave an error-free output, I assume you made a typo, so please try the chown command again.
sudo chown user:user /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
chown: cannot access '/run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159': No such file or directory
okay, give output of findmnt /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
/run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159 /dev/sda1 ext4 rw,nosuid,nodev,relatime,errors=remount-ro
According to the previous stat command, the inode number of /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159 is 2, which means that this path is the root of a filesystem.
i recently used that disk for KVM but i deleted my vm
this is with sudo?
oh sorry, wrong reply, i mean did you run chown with sudo?
okk
I insist you try this command again, and if it gives an error, please post a screenshot of your terminal
sudo chown $USER:$USER /run/media/user/f53d4fb5-b83b-4a04-8bf1-c90755c13159
wait
oh okay
this time
its not showing anything
just after entering it moved to new line
that means the command is successfull
This means that the command has been executed successfully.
... solved
#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you