From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080715 Fedora/2.0.0.16-1.fc8 Firefox/2.0.0.16 Description of problem: In the setfacl source file you can see following code: struct option long_options[] = { ... { "version", 0, 0, 'v' }, { "help", 0, 0, 'h' }, { NULL, 0, 0, 0 }, }; but options "-v" and "-h" are not recognized when you run the setfacl utility. That's because the two options are not mentioned in the following definitions, which are also present in the setfacl source file. #if !POSIXLY_CORRECT #define CMD_LINE_OPTIONS "-:bkndm:M:x:X:RLP" #define CMD_LINE_SPEC "[-bkndRLP] { -m|-M|-x|-X ... } file ..." #endif #define POSIXLY_CMD_LINE_OPTIONS "-:bkndm:M:x:X:" #define POSIXLY_CMD_LINE_SPEC "[-bknd] {-m|-M|-x|-X ... } file ..." Version-Release number of selected component (if applicable): acl-2.2.39-13.fc8 How reproducible: Always Steps to Reproduce: $ setfacl -v setfacl: invalid option -- v Usage: setfacl [-bkndRLP] { -m|-M|-x|-X ... } file ... Try `setfacl --help' for more information. $ setfacl -h setfacl: invalid option -- h Usage: setfacl [-bkndRLP] { -m|-M|-x|-X ... } file ... Try `setfacl --help' for more information. Actual Results: 'setfacl -v' prints an "invalid option" message 'setfacl -h' prints an "invalid option" message Expected Results: 'setfacl -v' prints the same message as 'setfacl --version' 'setfacl -h' prints the same message as 'setfacl --help' Additional info:
What made me to report this bug is the fact that the getfacl utility which comes from the same package recognizes all 4 options: -v --version -h --help.
acl-2.2.47-2.fc9 has been submitted as an update for Fedora 9
acl-2.2.39-14.fc8 has been submitted as an update for Fedora 8
acl-2.2.47-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
acl-2.2.39-14.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.