You are not logged in.

#1 2021-11-16 14:02:23

igneel
Member
Registered: 2021-06-17
Posts: 10

No permission to access /home/user directory.

I have recently tried installing arch using the 1-11-2021 archiso manually, so no install script. I am using btrfs for root and I don't have a seperate home partition but home does have its own subvolume. Datacow option was used.

When I create user with useradd:

useradd -c User -G wheel,libvirt,kvm,input -s /bin/fish igneel
passwd igneel

While in the setup environment there is no error. But when I boot into my system and try to login through sddm it doesn't work. So I try tty and it tells me that I don't have access to /home. The fix has been to just `sudo chown user /home` but I'd prefer to not own the entire /home directory.

Let me know what logs I should provide if any.

Offline

#2 2021-11-16 14:13:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: No permission to access /home/user directory.

Please post the actual error message(s).

The /home/ directory should *not* be owned by your user, but /home/User should be ... if it exists.  But the useradd command you posted does not create the home directory for the user.  Where did you get that command?  That's not what is advised in our wiki.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB