mirror of
https://github.com/wekan/wekan.git
synced 2026-03-14 01:16:13 +01:00
Updated serenity (markdown)
parent
fcb266b200
commit
15bb77b94d
1 changed files with 22 additions and 1 deletions
23
serenity.md
23
serenity.md
|
|
@ -126,4 +126,25 @@ https://github.com/wekan/php/blob/main/page/sign-in1.php#L58 .
|
|||
|
||||
- Add more features to Multiverse WeKan, and WeKan for DOS and Bash.
|
||||
|
||||
<img src="https://wekan.github.io/amigaos4/manybrowser-wekan-multiverse.png" width="100%" alt="Wekan logo" />
|
||||
<img src="https://wekan.github.io/amigaos4/manybrowser-wekan-multiverse.png" width="100%" alt="Wekan logo" />
|
||||
|
||||
## Transferring files between SerenityOS and a host Linux system
|
||||
|
||||
SerenityOS runs off of ext2, the "normal" file system for Linux, as such it's actually fairly easy to transfer files to and from the host system, granted a Linux host (and FreeBSD/NetBSD probably work as well).
|
||||
|
||||
The disk image that Serenity creates is in "Build/x86_64/_disk_image" and it is not partitioned, just a bare ext2 file system image. Mounting this as root is an option nearly every system provides out of the box (you really have to go out of your way to disable ext2 support in Linux...), simply using `sudo mount Build/x86_64/_disk_image /mnt` is enough for most configurations.
|
||||
|
||||
There's a little bit of an easier way though, so you can avoid using root and getting permissions in the way. e2fsprogs has an official FUSE-based ext2/ext4 driver named fuse2fs; most distributions seem to package this independently of e2fsprogs. If you are on Debian, you can run "apt install fuse2fs" to obtain it, or `pacman -S fuse2fs` on Arch.
|
||||
|
||||
Once that is set up, mounting the image as your own user and bypassing (and setting) permissions is super easy, barely an inconvenience.
|
||||
|
||||
As your regular user:
|
||||
|
||||
```
|
||||
mkdir Build/mnt
|
||||
fuse2fs -o fakeroot Build/x86_64/_disk_image Build/mnt
|
||||
```
|
||||
|
||||
And there you have it, you can access any file, and place files anywhere you want. I'd recommend sticking to `/home/anon` just to be safe :) Files copied to the disk image will, by default, have your host UID/GID set, but since this is being managed through FUSE and the "fakeroot" option was enabled, you can simply "chown -R 100:100 new_files/" to have them owned by SerenityOS's default "anon" user and avoid any trouble.
|
||||
|
||||
Once done and before booting SerenityOS again, make sure to run `fusermount -u Build/mnt` and you are good to go.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue