Convert Local Accounts to Network/Mobile Accounts

Follow

Comments

4 comments

  • Jay Brown

    This article was very helpful, thank you.

    One issue I ran into was the very last listed command:

    sudo chmod -R 755 /Users/USERNAME

    That command made every file in the user's home directory executable. I have very little knowledge of how permission work and what is needed, so I don't know what that command should be but I know that the professor who's local account I migrated to the domain was not happy to find that all his text files were executable and whatever specific permissions he had on other folders and files were reset.

    0
    Comment actions Permalink
  • Ben Greiner

    Hi, Jay, Sorry it took us 3 months to approve your comment! Hm. Not sure what happened there. "chmod -R 755" changes the permission of the folder. It does not alter how they work. Macs can't run .exe (executables) files so I'm guessing this had something to do with a Windows share? I hope you got it all sorted!

    -1
    Comment actions Permalink
  • Marc Hauge

    @Ben: Jay is correct. chmod 755 will recursively modify the folder and all its contents to executable.

    The command should be chown (change owner), not chmod (change modify). You do not need to change the file permissions. You simply need to change the owner.

    chown -R USERNAME /Users/USERNAME

    chmod -R 755 (drwxr-xr-x)  = recursively change all files and folder permissions.

    Number Octal Permission Representation Ref
    0 No permission ---
    1 Execute permission --x
    2 Write permission -w-
    3 Execute and write permission: 1 (execute) + 2 (write) = 3 -wx
    4 Read permission r--
    5 Read and execute permission: 4 (read) + 1 (execute) = 5 r-x
    6 Read and write permission: 4 (read) + 2 (write) = 6 rw-
    7 All permissions: 4 (read) + 2 (write) + 1 (execute) = 7 rwx
    0
    Comment actions Permalink
  • Ben Greiner

    Thanks for your comment Marc Hauge!

    0
    Comment actions Permalink

Please sign in to leave a comment.