NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

BretD's avatar
BretD
Administrator
Oct 26, 2018
Solved

NETGEAR Service Status Page - LIVE - Status.Netgear.com

  At NETGEAR we strive to provide you quality and peace of mind for all your home networking and small business networking products and service needs. So if something isn't quite working rig...
  • Sandshark's avatar
    Sandshark
    Oct 01, 2021

    OK, so mwilliams' personal folder is assigned to user 33397, which does not exist, and group 32897, which probably doesn't either.

     

    drwx------ 1 33397 32897 0 Jan 30 2020 mwilliams

     

    His proper user GUID is 33988 and his group is 33281:

     

    uid=33988(mwilliams) gid=33281(domain users)

     

    So I think chown -R mwilliams:33281 mwilliams from the .home share should fix the problem.

    If not, then chown -R 33988:33281 mwilliams.

     

    If the first one works, then this script should do it for all:

     

    cd /home
    for dir in */; do chown -R "${dir%?}:33281" "$dir"; done
    chown -R admin:admin admin

     

    I'm using the GID for the group because I'm not entirely sure how to handle the group name "domain users" with a space in it.

    If you have to use the UID instead of the name to make it work, then it'll take a lot more to get that info, and it's probably easier to just do it manually unless hou have a huge number of affected users.