Proplems with home directory of new created unpriveleged user with missing paths. What should I do? Thanks for help! reddit / freebsd ---------------------------------------------------------------------- r_notfound · 2023-04-05 23:39 You didn't show the part where you added the user, or show any of the filesystem permissions. If you haven't already customized this user's environment, I'd delete the user with `pw user del gitea-user`, and then add the user back via the `adduser` utility. If you're still having issues, paste the part where you added the user, and show the permissions, and describe in more detail what you're trying to do. ---------------------------------------------------------------------- [deleted] · 2023-04-05 23:52 Can it be because the home directory of the user wasn't created on the moment of creation? ---------------------------------------------------------------------- r_notfound · 2023-04-05 23:53 Yes. That's part of why I suggested using the adduser utility. It will ensure the home directory is created with appropriate permissions, as well as some other stuff you probably want. ---------------------------------------------------------------------- [deleted] · 2023-04-05 23:55 Should I set up the permisions of directory? ---------------------------------------------------------------------- r_notfound · 2023-04-05 23:56 > That's part of why I suggested using the adduser utility. It will ensure the home directory is created with appropriate permissions If you use the adduser utility, like I suggested, it will set the permissions correctly, and you don't have to worry about setting them manually. ---------------------------------------------------------------------- rhavenn · 2023-04-06 17:15 No, it's more you created it by hand and the directories were owned by the root user. As u/r_notfound said, use the `adduser` command or use the `pw` command which is more "scriptable". check the man pages for details. ---------------------------------------------------------------------- [deleted] · 2023-04-06 19:54 Thanks for kindness! I have already fixed it