Skip navigation

Weird User Permissions on New User Account - HELP!!!

697 Views 22 Replies Latest reply: Apr 19, 2012 9:22 PM by Peter Borbonus RSS
1 2 Previous Next
Kevin Neal Level 2 Level 2 (475 points)
Currently Being Moderated
Apr 19, 2012 5:51 AM

I made a new user using WGM but unfortunately spelt the username incorrectly, so I decided to delete and start from scratch, I set the user up again using a fresh ID and then logged in, however if I look at the permissions on this new users account while logged in as him, folders all his folders have the incorrect spelt name as the owner, from the server however the folder permissions show the correct name.

 

This is causeing the account to be unusable. I don't understand how it can be showing the deleted username in the permissions when I set him up again as a completely new user, how can I solve this?

  • Peter Borbonus Level 1 Level 1 (95 points)

    Maybe the new user has the same shortname as the user before?

    Go to the user-directory and delete the directory with the shortname of the user.

    After that try to create a new home-directory for this user with WGM.

     

    Peter.

  • Peter Borbonus Level 1 Level 1 (95 points)

    Try to change the owner of the homedir in the Terminal with chown to change the owner of the homedirectory.

    Funktion: chown (change owner)

    Syntax

    chown [-Rcfv] [-recursive] [-changes] [-silent] [-quiet] [-verbose] [owner][:.][group] file ...

     

    DESCRIPTION

    The chown utility changes the user ID and/or the group ID of the specified files. Symbolic links named by arguments are silently left unchanged unless -h is used.

    The options are as follows:

    -H      If the -R option is specified, symbolic links on the command line are followed. (Symbolic links encountered in the tree traversal are not followed.)

    -L      If the -R option is specified, all symbolic links are followed.

    -P      If the -R option is specified, no symbolic links are followed. This is the default.

    -R      Change the user ID and/or the group ID for the file hierarchies rooted in the files instead of just the files themselves.

    -f       Don't report any failure to change file owner or group, nor modify the exit status to reflect such failures.

    -h      If the file is a symbolic link, change the user ID and/or the group ID of the link itself.

    -v      Cause chown to be verbose, showing files as the owner is modified.

    The -H, -L and -P options are ignored unless the -R option is specified.

    In addition, these options override each other and the command's actions are determined by the last one specified.

    The owner and group operands are both optional, however, one must be specified. If the group operand is specified, it must be preceded by a colon (``:'') character.

    The owner may be either a numeric user ID or a user name.  If a user name is also a numeric user ID, the operand is used as a user name.  The group may be either a numeric group ID or a group name.  If a group name is also a numeric group ID, the operand is used as a group name.

    The ownership of a file may only be altered by a super-user for obvious security reasons.

     

    I think

    cd /Users

    chown -R shortname directoryname

     

    should do it.

     

    What happens if you create other new users with WGM? Is that working fine?

    Are you using WGM at the server or from a client?

  • Peter Borbonus Level 1 Level 1 (95 points)

    It must be used:

    sudo chown -R shortname directoryname

  • Peter Borbonus Level 1 Level 1 (95 points)

    Did you try to restart the server?

    What happens if you create other new users with WGM? Is that working fine?

    Are you using WGM at the server or from a client?

  • Peter Borbonus Level 1 Level 1 (95 points)

    OK!

    I would delete the user and his homedir again.

    After this I would create a new user with the shortname "mbernat" and a different user-ID.

    You got a problem with teh config of "marekbernat".

     

    Good luck!

     

    Peter.

  • Peter Borbonus Level 1 Level 1 (95 points)

    I don't know. Sorry!

    But maybe the server will repair all things over night or after a restart if the user doesn't exist anymore...

  • Peter Borbonus Level 1 Level 1 (95 points)

    Why don't you create the user-homedirs with WGM?

    I would not use Adobe-Software at this point!

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.