bcgov / von-network

A portable development level Indy Node network.
Apache License 2.0
163 stars 188 forks source link

The MacOS "stat" command is different than the GNU equivalent #271

Closed swcurran closed 10 months ago

swcurran commented 1 year ago

Details of how the issue was found are here in this AATH Issue.

On line 846 of the manage script is a stat -c '%a' .... On MacOS, the equivalent is stat -f '%A' ....

See: https://superuser.com/questions/1137297/how-to-get-access-permissions-octal-for-a-file-on-mac-os

It would be nice if this worked on MacOS.

Thanks!

swcurran commented 1 year ago

The reporter of the issue in AATH is trying the fix, so perhaps best to wait to see if that works...