Cannot write to `/root` directory

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
aedryan
Posts: 7
Joined: Wed Mar 10, 2021 4:33 am

Cannot write to `/root` directory

Unread post by aedryan »

I'm trying to SSH into the Mister using VSCode and/or with an RSA identity but I find that whenever I try to write a file anywhere into `/root/`, I get a no space left on device error. I've tried adding a new user for myself to access the Mister in various ways but the command doesn't exist. Any advice on this would be appreciated. I'm not a Linux expert but I've had success reading manuals and roughing my way through when needed but I can't seem to figure this one out.
aedryan
Posts: 7
Joined: Wed Mar 10, 2021 4:33 am

Re: Cannot write to `/root` directory

Unread post by aedryan »

I may be answering my own question in some way here but I noticed the `ftp` user in the `/home` directory and haven't fiddled with it yet but may be able to use that for these purposes but any idea if there's a way to add users through the CLI?
Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: Cannot write to `/root` directory

Unread post by Bas »

What exactly are you trying to achieve?
aedryan
Posts: 7
Joined: Wed Mar 10, 2021 4:33 am

Re: Cannot write to `/root` directory

Unread post by aedryan »

I'm trying to find a better way to SSH into the Mister and wondering why write access to the root directory seems restricted and not just restricted by permissions but by some disk space allocations.
zakk4223
Posts: 289
Joined: Sun May 24, 2020 10:55 pm
Been thanked: 120 times

Re: Cannot write to `/root` directory

Unread post by zakk4223 »

The mister/uboot setup boots and then mounts the root filesystem from an image file, that's why it's "full"

If you want to transfer files to the mister, transfer them to /media/fat or a mounted usb drive. The root filesystem may or may not have room
Post Reply