Bug 247613

Summary: desktop-file-install can't handle -m664, --mode 664 is ok
Product: [Fedora] Fedora Reporter: Doncho Gunchev <dgunchev>
Component: desktop-file-utilsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-02 14:38:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Doncho Gunchev 2007-07-10 13:09:47 UTC
Description of problem:
The command 'desktop-file-install --mode 664 ...' works, 
while 'desktop-file-install -m664 ...' results in:
Unknown option ""

Version-Release number of selected component (if applicable):
desktop-file-utils-0.12-4.fc7

How reproducible:
always

  
Expected results:
-m644 should be equivalent to --mode 664

Additional info:
$ desktop-file-install --help-all
...
  -m, --mode                      Set the given permissions on the destination 
file.
...

Comment 1 Matthias Clasen 2007-10-02 14:38:50 UTC
You can use -m 644 or --mode 644 or --mode=644. Only -m644 does not work.

Comment 2 Doncho Gunchev 2007-10-03 07:26:59 UTC
I see, 10x for the info and sorry.

There are .spec files (at least one) that use exactly -m644, because I 
copy-pasted it from someone else's...