ostree icon indicating copy to clipboard operation
ostree copied to clipboard

Add support for permission modes in octal in --statoverride files

Open jlebon opened this issue 3 years ago • 1 comments

This would make writing them less error-prone.

jlebon avatar Jul 15 '21 13:07 jlebon

I think that just changing g_ascii_strtod to g_ascii_strtoull with a base of 0 would do the trick as that inteprets a leading 0 as octal. But then the documentation would have to be clear that you need a leading 0 since people often leave that off when using chmod.

dbnicholson avatar Jul 15 '21 18:07 dbnicholson