-
Hi, I am not a great Linux user and have always had issues understanding file permissions and ownership. I know CHMOD 777 and stuff, but don't really know how to troubleshoot things like Symlinks, etc.
When move the data directory to a storage drive, the following line appears:
The destination file system must support file permissions and ownership for the move to work
Now, I have no idea how to check the permissions and ownership. I see that there are four possible owners of folders and files:
- Root
- www-data
- yellowtent
- cloudron
- git
The folders in my storage drive are owned by www-data, cloudron and root. I have no idea which is the correct owner.
Could any of you please be so kind to explain this. I had read the documentation but I am failing to grasp the concept.
I also read the part about 'Media' in https://docs.cloudron.io/volumes/#sharing
I tested the ownership of media, here is the output:root@my ~ # touch $MOUNT_DIR/test-file
root@my ~ # ls -l $MOUNT_DIR/test-file
-rw-r--r-- 1 root root 0 Jun 22 12:55 /test-file
root@my ~ #clearly As seen above, a newly created file DOES NOT HAVE the correct permissions for access by media group automatically.
What must I do?
OpenWebUI Error after last update
Related to this is the following error that I am getting after the last upgrade to 2.2.5
Set NLTK_DIR env var
My installation is now non-responsive and here are the pertinent logs:
Jun 22 18:11:02 mkdir: cannot create directory '/media/ollama-vol': Read-only file system
I experimented a lot trying to poke around, changing stuff, etc, but no luck.
I tried using the 'mount' - I read about it in the documentation, didn't understand the concept fully, but added it, went in into the file directory and tried changing permissions and ownership, no avail.I have no idea if this is related to the permissions and ownership, but strongly suspect so, and my lack of expertise is hindering me.
Any help would be great, if possible, some ELI5 how I can avoid this in the future.
Thank you and have a great day!
-
-
-
-