New users can't access files

Hi, I’m new to ZimaOS.

I’ve just setup my os with an admin account and now I’ve made my own account which has all the same read and write privileges.

Is there a particular reason why it does this?

My NAS is literally empty, I haven’t installed anything so far and I can’t access my raid array or any folder at all without having that “permission denied” message from my own account.

I’m encountering some really basic errors so far without really doing nothing to my NAS that it makes me want to format everything and try something else but I’ll keep trying.

Yeah I wouldn’t expect this on a clean setup either, so something else is going on here.

From your screenshot, that path (ZimaOS-HD_VAULT/Andres) looks like a mounted or previously created storage location, not something created fresh by your new user. In those cases, ZimaOS user permissions don’t override the underlying Linux ownership.

So even if your user has read/write in the UI, the folder itself is likely owned by root (or another UID), which is why you’re getting permission denied.

A couple quick checks:

  • Can your admin account open that folder?
  • Was this storage imported or reused from another system, or created before this user?

If admin works and your user doesn’t, then it’s just a folder ownership mismatch, not a broken setup.

This usually happens when folders are created by admin or outside the Files app. Once ownership matches your user, everything behaves normally.

Yes, admin (which is still me) has access to everything without errors and so far I’ve created only one more user (Andres, still me) that gets those errors.

My NAS has a 128 GB ssd which has only the os (the “ZimaOS HD”) and a raid 1 with 2x 6TB hdds (DATA_VAULT). I migrated everything, includig apps installed, except the os on the raid array because the temporary files where filling up my ssd with crap. So yes, the paths are custom, mostly reccomended by Gemini.

The setup is brand new, the os installation is fresh, I have no data in it. I’m not storing anything on it until I see this os working with stability.

Yeah that actually explains it.

You haven’t done anything “wrong”, but this isn’t a clean default setup anymore since you migrated and created your own paths. In that case, ZimaOS isn’t really in control of permissions the way it normally is.

What’s happening is the folders were likely created by admin (or root), so even though your new user “Andres” has read/write in the UI, the underlying filesystem still belongs to admin. That’s why you’re seeing permission denied.

It lines up perfectly with what you’re seeing:

  • admin works fine
  • new user doesn’t
  • empty system but still blocked

So it’s not a stability issue with ZimaOS, just a permissions mismatch from the way the storage was set up.

Quick way to confirm, try creating a new folder while logged in as “Andres”. If that works, then it’s 100% just ownership on the existing folders.

Once ownership matches your user, everything will behave normally.

By that logic I have to revert to the standard file paths and so I need to change the boot ssd with something bigger: 256GB, 512, 1TB? How big should it be without getting clogged with temporary files.

That’s another thing that bugs me about this OS. Even if I migrated everything on the raid array the boot ssd is almost full again 96GB of 128GB, that’s not normal, and I barely installed anything on it, to be clear there’s nothing installed now.

Yeah nah, you definitely don’t need to change your SSD or go buy a bigger one, that’s not the issue here.

On ZimaOS the OS itself is tiny. A 128GB drive is more than enough. If you’re sitting at ~96GB used with nothing installed, that’s not “normal usage”, it usually means something ended up writing to the wrong place.

What likely happened during your migration is some data or temporary files went onto the system disk instead of the DATA_VAULT, which fills it up pretty quickly.

So it’s not about reverting paths or starting again, it’s more about checking what’s actually using the space.

I’d look at it like this:

  • your RAID setup is fine
  • your custom paths are fine
  • the only real issue is where data is being written

Common causes are:

  • app data not mapped to /DATA/AppData
  • downloads / temp files landing on / instead of your array
  • leftover files from the migration

So yeah, no need to upgrade the SSD — plenty of people run ZimaOS on 32–64GB even.

If you want, I can help you quickly check what’s eating that space and move it safely to your DATA_VAULT.

Have a quick look at what’s actually using space on the system disk, because 96GB used on a fresh install isn’t normal.

Run these one by one:

df -h

This shows overall disk usage so we can confirm what’s full.

du -h --max-depth=1 / | sort -hr | head -20

This shows which top-level folders are using the most space.

du -h --max-depth=1 /DATA | sort -hr

This checks if anything accidentally ended up in /DATA vs elsewhere.


What we’re looking for is something big sitting in places like:

  • /var
  • /root
  • /tmp
  • or even /DATA but on the wrong disk

Once we see that, it’s very easy to fix properly.

1 Like

Let me try and I’ll get back at you.

About the folder ownership, I can’t create any new folder because I don’t have access to anything else than those 2 base folders “DATA_VAULT” and “Andres” so not having permissions I can’t create anything new in it. Also the main settings menu is empty for my user Andres.

Yeah that confirms it.

Right now your user “Andres” can see the folders in the UI, but doesn’t actually own them underneath, so it’s basically locked out. That’s why you can’t open anything, create folders, or even see proper settings.

Nothing broken, just permissions not lining up.

Let’s quickly check it properly, run these:

id
ls -ld /DATA/.media/*

That will show us your user ID and who owns those folders, then we can fix it clean in one step.

double post

From the 2nd command line I get “cannot read directory” on everything.

This is what I get from the “id” command line forward:

admin@NASFV:~ ➜ $ id
uid=999(admin) gid=1000(samba) groups=1000(samba),10(wheel)
admin@NASFV:~ ➜ $ ls -ld /DATA/.media/*
drwxr-xr-x 1 root root 168 Apr 1 00:32 /DATA/.media/DATA_VAULT
drwxrwxrwx 5 root root 4096 Apr 1 09:00 /DATA/.media/NASAVBKP
lrwxrwxrwx 1 root root 5 Mar 24 21:11 /DATA/.media/ZimaOS-HD → /DATA
admin@NASFV:~ ➜ $

Nice, that explains everything.

Your folders are owned by root:root:

  • /DATA/.media/DATA_VAULT > root root
  • /DATA/.media/NASAVBKP > root root

Your user is:

  • uid=999(admin)
  • group samba

So your user simply doesn’t have ownership of those folders, which is why everything is locked out.


Fix (one clean command)

Run this as admin:

chown -R 999:1000 /DATA/.media/DATA_VAULT

(That matches your admin user and group)


After that:

  • your user should be able to open folders
  • create files
  • and everything should behave normally

Nothing wrong with your setup, this just happened because the storage was created/migrated as root, so permissions didn’t follow your use.

Did that. It changed a lot of ownerships but all came back with “operation not permitted”, example:

chown: changing ownership of ‘/DATA/.media/DATA_VAULT/AppData/nextcloud/var/www/html/lib/public/Route/IRouter.php’: Operation not permitted

I’m formatting everything and I’ll go back with standard paths and using my boot drive for apps and os.

This is discouraging but I’m very thankful for your help.

Yeah to fix this properly, the best option now is a full factory reset.

Go to:
Settings > General > scroll down > Reset

Run that and let ZimaOS reset itself back to a clean state.

It will:

  • remove all apps
  • clear AppData
  • reset users and permissions

With the failed migration and mixed permissions, this is the fastest and cleanest way forward instead of trying to fix everything manually.

After the reset:

  • set it up fresh
  • keep the default paths

Then use the migration tool properly:

  • migrate all three (App data, App image and User Database)
    Once that’s done, start installing your apps.

Funny thing, that’s exactly how I migrated the first time

I just reset my nas (NASFV), matter of fact I format and installed a fresh copy of ZimaOS to be sure, I set it up with standard paths, (boot drive only OS and apps, /DATA is my raid), but now I’m trying to set up my shared folder /DATA/NASF_AV_SPACE to use with my personal account (Andres) and once logged in I still don’t have permission to navigate through my stuff.

Any suggestions please?

Yeah that’s actually normal.
The reset only wipes the system (apps, users, AppData), it doesn’t touch your storage. So ZimaOS will detect your drives again and those folders will show back up.
That doesn’t mean the reset failed, it just means your RAID is still there, which is what you want.
From here just treat it like a fresh setup:
don’t reuse old folders
create new ones from the UI
run migration (all three)
then install your apps
That should keep everything clean and avoid the permission issues.

No, as I said I format everything to be sure, not reset. It’s a fresh install of ZimaOS, both boot ssd and raid have been formatted… I’m still scratching my head

Yeah that’s definitely not expected then.
If both the OS drive and the RAID were formatted, there shouldn’t be any old folders or permission leftovers coming back.
That points more to how the storage is being initialized/mounted rather than anything you carried over.
At this point don’t start migrating yet, keep it as clean as possible.
Can you just check one thing for me:

ls -ld /DATA/.media/*

If those folders are still showing as root root on a fresh install, then that’s the reason your user can’t access anything.
We just need to confirm that before touching anything else.

At this point we’re going in circles a bit.
If this is a fully fresh install with both the OS drive and RAID formatted, then what you’re describing shouldn’t be happening under normal conditions.
Without consistent command output to verify what’s actually on the system, it’s not possible to diagnose further.
Best next step would be:
keep it as a clean install
don’t migrate anything
test with a brand new user and a brand new folder created from the UI
If the issue still happens in that state, then it’s likely something specific to your setup and worth isolating or reporting.

I’m not planning on migrating anything.

As I told you everything stays where it belongs, the boot 128GB ssd with os and apps and the raid with data only.

This is the result of your command line:

If you see a “NASAVBKP” in the list, it’s a separate NAS that recieves beckups only from my main nas and my father’s that has a synology oversees.