Bug 483342 - ecryptfs-utils : Unowned directories
Summary: ecryptfs-utils : Unowned directories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ecryptfs-utils
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Michael Halcrow
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-30 20:47 UTC by Michael Schwendt
Modified: 2009-04-01 10:00 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-02 11:50:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2009-01-30 20:47:53 UTC
One or more directories are not included within this
package and/or its sub-packages:

=> ecryptfs-utils-69-3.fc11.src.rpm
=> ecryptfs-utils-python-69-3.fc11.i386 (rawhide-development-i386)
/usr/lib/python2.6/site-packages/ecryptfs-utils

[...]

Further information:

https://fedoraproject.org/wiki/Packaging/ReviewGuidelines

MUST: A package must own all directories that it creates. If it does not
create a directory that it uses, then it should require a package which
does create that directory.

https://fedoraproject.org/wiki/Packaging/Guidelines#FileAndDirectoryOwnership
https://fedoraproject.org/wiki/Packaging/UnownedDirectories

The script to find unowned directories is not complete yet, but
still quite usable: http://mschwendt.fedorapeople.org/dircheck-remote.py
$ ./dircheck-remote.py -r rawhide -n ^ecryptfs-utils

Comment 1 Michal Hlavinka 2009-02-02 11:50:39 UTC
Thanks for pointing that out. Fixed.

Btw, it'd be good if you make your script working without repository - just with rpm file.

Comment 2 Michael Schwendt 2009-04-01 10:00:37 UTC
The repository metadata are needed to resolve the package's dependencies and check whether directories are provided in any packages in the dependency-chain. 

Noticing unowned directories in a .spec file is trivial (often), but without examining dependencies there would be false positives.


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