@arky, you should take a look at /etc/passwd and /etc/group. Typically
your regular account will have its own group. Eg:

In /etc/passwd, a typical user will have:
$ grep ubuntu /etc/passwd
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash

$ grep 1000 /etc/group
ubuntu:x:1000:

You should verify that /etc/group has:
arky:x:1000:

If it doesn't, then do:
$ sudo addgroup --gid 1000 arky

I suspect that /etc/passwd has:
ubuntu:x:1000:0:<something>:/home/arky:/bin/bash

Adjust that to be:
ubuntu:x:1000:1000:<something>:/home/arky:/bin/bash

(where '<something>' you just leave alone).

You can now try to login via a tty to make sure it works (eg,
ctrl+alt+F3). If it does, then you should:

$ sudo chgrp -R arky /home/arky

Then logout and back in. Good luck!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1760416

Title:
  dropping privs did not work: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1760416/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to