Summary: | =sys-apps/openrc-0.38.2 - openrc-run checkpath missing support of -p (--parents) option mkdir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Current packages | Assignee: | OpenRC Team <openrc> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey S. Starikoff
2018-10-10 11:27:24 UTC
My concern about doing this is how the -o and -m options should work in this scenario. For example, consider the following command: checkpath --owner user:group --mode 0700 --parents /foo/bar/bas/end The actions of --owner and --mode become ambiguous in that situation. Is this an error? If not, which directories in the example should they apply to? My opinion we should do the same as mkdir -p (--mode option), but extending it for owner. Yes, some ambiguities are unavoidable, but in most cases explicit applying mode and owner to the last dir in path is enough. |