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
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils   
(Show other bugs)
Version: 7
Hardware: All Linux
low
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
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:
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: ---


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.