Bug 1008825 - [RFE] New api: lu_homedir_remove_if_owned_for_user
Summary: [RFE] New api: lu_homedir_remove_if_owned_for_user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libuser
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1008933 1009010
TreeView+ depends on / blocked
 
Reported: 2013-09-17 07:04 UTC by Robin Hack
Modified: 2013-11-10 07:59 UTC (History)
1 user (show)

Fixed In Version: libuser-0.60-3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1008933 (view as bug list)
Environment:
Last Closed: 2013-11-10 07:59:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch for rfe. (22.63 KB, patch)
2013-09-17 07:04 UTC, Robin Hack
no flags Details | Diff

Description Robin Hack 2013-09-17 07:04:37 UTC
Created attachment 798645 [details]
Patch for rfe.

Description of problem:
I need atomically check if deleted home is owned by user.

This patch should be helpful.

I hope, that gods will be satisfied by this patch.

This patch also contains generated documentation.

Comment 1 Robin Hack 2013-09-17 07:05:22 UTC
Maybe: api can be named like:
lu_homedir_remove_if_owned_by_user

Comment 2 Miloslav Trmač 2013-10-14 15:57:28 UTC
Fixed in rawhide libuser-0.60-1.fc21, adding lu_homedir_remove_for_user_if_owned().

Thanks for the patch!

Comment 3 Fedora Update System 2013-10-16 14:06:37 UTC
libuser-0.60-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libuser-0.60-3.fc20

Comment 4 Fedora Update System 2013-10-17 20:33:12 UTC
Package libuser-0.60-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libuser-0.60-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19208/libuser-0.60-3.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-11-10 07:59:14 UTC
libuser-0.60-3.fc20 has been pushed to the Fedora 20 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.