Bug 961992 - mate-file-manager doesn't own directories correctly
Summary: mate-file-manager doesn't own directories correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-file-manager
Version: 19
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Dan Mashal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 924310
TreeView+ depends on / blocked
 
Reported: 2013-05-10 21:59 UTC by Wolfgang Ulbrich
Modified: 2013-05-24 20:34 UTC (History)
4 users (show)

Fixed In Version: mate-file-manager-1.6.1-3.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-24 05:18:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Wolfgang Ulbrich 2013-05-10 21:59:45 UTC
Description of problem:
 $ yum provides /usr/lib64/caja/
 No Matches found
 $ yum provides /usr/lib/caja/
 No Matches found

Please change under %files:
%{_libdir}/caja/extensions-2.0
to
%dir %{_libdir}/caja
%dir %{_libdir}/caja/extensions-2.0

see http://fedoraproject.org/wiki/Packaging:UnownedDirectories

Version-Release number of selected component (if applicable):
all versions: rawhide, f19, f18, f17

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=924310

Dan, i know this was a miskake from me in my first review of mate-file-manager.
Sorry for that noise.
Pls, make me happy and fix it.
Wolfgang

Comment 1 Dan Mashal 2013-05-14 05:04:02 UTC
*confused*

%{_libdir}/caja/extensions-2.0

owns this 

check: 'yum provides "*/lib*caja*"'

Comment 2 Wolfgang Ulbrich 2013-05-14 09:10:15 UTC
It seems that it differ how to use the yum provide command.

yum provides "*/lib*caja*"
<snip>

mate-file-manager-1.5.5-1.fc18.i686 : File manager for MATE
Repo        : updates
Übereinstimmung von:
Dateiname     : /usr/libexec/caja-convert-metadata
Dateiname     : /usr/lib/caja/extensions-2.0

mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : updates
Übereinstimmung von:
Dateiname     : /usr/libexec/caja-convert-metadata
Dateiname     : /usr/lib64/caja/extensions-2.0

<snip>

mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : @updates
Übereinstimmung von:
Dateiname     : /usr/libexec/caja-convert-metadata
Dateiname     : /usr/lib64/caja/



[root@localhost ~]# yum provides */lib*caja*
<snip>

mate-file-manager-1.5.5-1.fc18.i686 : File manager for MATE
Repo        : updates
Übereinstimmung von:
Dateiname     : /usr/libexec/caja-convert-metadata
Dateiname     : /usr/lib/caja/extensions-2.0

mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : updates
Übereinstimmung von:
Dateiname     : /usr/libexec/caja-convert-metadata
Dateiname     : /usr/lib64/caja/extensions-2.0

<snip>

mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : @updates
Übereinstimmung von:
Dateiname     : /usr/libexec/caja-convert-metadata
Dateiname     : /usr/lib64/caja/



[root@localhost ~]# yum provides /usr/lib*/caja/
Geladene Plugins: langpacks, presto, refresh-packagekit, refresh-updatesd
No Matches found

[root@localhost ~]# yum provides /usr/*/caja/
Geladene Plugins: langpacks, presto, refresh-packagekit, refresh-updatesd
<snip>
mate-file-manager-1.5.5-1.fc18.i686 : File manager for MATE
Repo        : updates
Übereinstimmung von:
Dateiname     : /usr/share/caja/

mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : updates
Übereinstimmung von:
Dateiname     : /usr/share/caja/


[root@localhost ~]# yum provides "/usr/*/caja/"
Geladene Plugins: langpacks, presto, refresh-packagekit, refresh-updatesd
mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : @updates
Übereinstimmung von:
Dateiname     : /usr/share/caja/
Dateiname     : /usr/share/pixmaps/caja/
Dateiname     : /usr/lib64/caja/


[root@localhost ~]# yum provides "/usr/lib*/caja/"
Geladene Plugins: langpacks, presto, refresh-packagekit, refresh-updatesd
mate-file-manager-1.5.5-1.fc18.x86_64 : File manager for MATE
Repo        : @updates
Übereinstimmung von:
Dateiname     : /usr/lib64/caja/

I'm still wondering why using quotation marks makes a different in yum.
Maybe we should ask Rex about this issue.

Comment 3 Alex G. 2013-05-14 16:29:35 UTC
> Dateiname     : /usr/lib64/caja/
Wolfgang, I can't reproduce your result.

[mrnuke@nuclearis1 ~]$ yum provides "*/lib*/caja/*"
[yada yada yada]
Filename    : /usr/lib/caja/extensions-2.0
[yada yada yada]


[mrnuke@nuclearis1 ~]$ yum provides "*/lib*/caja/"
[yada yada yada]
No Matches found

mate-file-manager owns /usr/lib*/caja/extensions, but that's not enough. No one  owns /usr/lib*/caja/

Comment 4 Fedora Update System 2013-05-15 02:34:31 UTC
mate-file-manager-1.6.1-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mate-file-manager-1.6.1-2.fc19

Comment 5 Wolfgang Ulbrich 2013-05-15 07:21:40 UTC
I did installed the update locally for giving quick karma, but sorry i can't do this.

yum provides /usr/lib64/caja/

mate-file-manager-1.6.1-2.fc19.x86_64 : File manager for MATE
Quelle      : @/mate-file-manager-1.6.1-2.fc19.x86_64
Übereinstimmung von:
Dateiname     : /usr/lib64/caja/


yum provides /usr/lib64/caja/extensions-2.0/

mate-file-manager-1.6.0-1.fc19.x86_64 : File manager for MATE
Quelle      : fedora
Übereinstimmung von:
Dateiname     : /usr/lib64/caja/extensions-2.0/

mate-file-manager-1.6.1-1.fc19.x86_64 : File manager for MATE
Quelle      : updates-testing
Übereinstimmung von:
Dateiname     : /usr/lib64/caja/extensions-2.0/

Now you did owned /usr/lib64/caja/ but not /usr/lib64/caja/extensions-2.0/.
It's necessary that caja also own this directory, because if a extension own this directory it is possible that a user don't install this package but maybe a other extension.
In result no package own this directory.

Pls use
%dir %{_libdir}/caja
%dir %{_libdir}/caja/extensions-2.0

http://fedoraproject.org/wiki/Packaging:UnownedDirectories

Comment 6 Fedora Update System 2013-05-15 16:44:08 UTC
Package mate-file-manager-1.6.1-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mate-file-manager-1.6.1-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8245/mate-file-manager-1.6.1-2.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-05-15 17:06:28 UTC
mate-file-manager-1.6.1-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mate-file-manager-1.6.1-3.fc19

Comment 8 Fedora Update System 2013-05-24 20:34:29 UTC
mate-file-manager-1.6.1-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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