Bug 247613 - desktop-file-install can't handle -m664, --mode 664 is ok
Summary: desktop-file-install can't handle -m664, --mode 664 is ok
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils
Version: 7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-10 13:09 UTC by Doncho Gunchev
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-02 14:38:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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...


Note You need to log in before you can comment on or make changes to this bug.