joshua-d-miller / macOSLAPS

Swift binary that will change a local administrator password to a random generated password. Similar behavior to LAPS for Windows
MIT License
387 stars 58 forks source link

/etc/paths.d/laps permission issue #71

Closed franton closed 2 years ago

franton commented 2 years ago

Hi,

Whenever I open Terminal.app, I see this:

Last login: Mon Mar 28 16:18:56 on ttys000 laps: Permission denied user@computer ~ %

This is due to the file looking like this:

user@computer paths.d % ls -al total 16 drwxr-xr-x 4 root wheel 128 Mar 21 15:13 . drwxr-xr-x 81 root wheel 2592 Mar 28 15:52 .. -rwxr-xr-x 1 root wheel 23 Jan 18 13:50 100-rvictl -rwx------ 1 root wheel 15 Dec 3 2019 laps

The laps file should have chmod 755 instead of 700 to stop the permission denied error occurring when loading Terminal.

joshua-d-miller commented 2 years ago

Hi there!

I'll be sure to take care of this. Hopefully either this evening or maybe this weekend.

Thanks!

nmasi324 commented 2 years ago

Was this ever corrected? I am seeing this as well.

joshua-d-miller commented 2 years ago

This should be addressed in the latest release candidate of 3.0.1. Let me know if it addresses it. Thanks!

joshua-d-miller commented 2 years ago

This has been corrected in 3.0.2. Please use the latest release.