MagerValp / CreateUserPkg

This project has been archived and is no longer maintained
263 stars 43 forks source link

Incorrect system file permissions in 10.11.x #49

Closed mortopc4 closed 8 years ago

mortopc4 commented 8 years ago

After creating the new user and booting to the user, system folders such as Downloads have a red minus on them and indicate that the "folder cannot be opened because you do not have permissions to see the contents."

Although this can be fixed manually, is there a way to fix this through the application?

Cheers!

MagerValp commented 8 years ago

CreateUserPkg does not create the home directory, it's typically created automatically on first login by the system. So I guess the question is how was the home directory created, and who exactly owns them if not the newly logged in user?

kyleericson commented 8 years ago

Having a user library needs to be repaired when logging in for the first time with this user Os 10.11.3+

jreitzersmith commented 8 years ago

I get the "user library needs to be repaired" issue on 10.11.3 as well. I have not used the packages on prior 10.11 revisions, so I cannot confirm whether this issue is specifically 10.11.3 or 10.11 in general.

On Wed, May 11, 2016 at 11:54 AM, kyleericson notifications@github.com wrote:

Having a user library needs to be repaired when logging in for the first time with this user Os 10.11.3+

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/MagerValp/CreateUserPkg/issues/49#issuecomment-218521135

MagerValp commented 8 years ago

Please post a screenshot of your CreateUserPkg settings, and the output of ls -al and df -h ~ (without repairing the library).

marrkkuu commented 8 years ago

I've seen this before on different OS versions but mainly when upgrading an OS and retaining an existing user home. And this is on systems that don't use CreateUserPkg.

The fix I implemented although lazy does work, and that was to delete the user Keychains folder.

On Thu, 12 May 2016, 5:34 AM Per Olofsson notifications@github.com wrote:

Please post a screenshot of your CreateUserPkg settings, and the output of ls -al and df -h ~ (without repairing the library).

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/MagerValp/CreateUserPkg/issues/49#issuecomment-218597192

jreitzersmith commented 8 years ago

CreateUserPKG settings: (https://cloud.githubusercontent.com/assets/15751873/15222928/8381687e-1837-11e6-86fc-80317aad366d.png)

before login (from another account): (https://cloud.githubusercontent.com/assets/15751873/15222930/83dbb52c-1837-11e6-8ddb-d46be62b000b.png)

after login: (https://cloud.githubusercontent.com/assets/15751873/15222929/8382101c-1837-11e6-9bfa-ecb81c81b7df.png)

Please let me know if there's anything else that I can provide.

MagerValp commented 8 years ago

I think that's a nope on the attachments :) Either post on github or maybe post links? The important part is the output of ls -al and df -h ~ though.

jreitzersmith commented 8 years ago

Per, I've updated my previous comment with the screenshots.

MagerValp commented 8 years ago

It looks like the home directory was created by the Citrix Receiver installer, and not on first login by the OS. Try without it.

kyleericson commented 8 years ago

I still have this issue. How do I fix this? on 10.11.3+

MagerValp commented 8 years ago

Most likely by removing the offending package from your workflow.

kyleericson commented 8 years ago

I did try to run it by it self and it seems to work so must be a MDM issue.