/home/* access not available

Bug #1801567 reported by Stefan Nilsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
Unassigned

Bug Description

When carrying out account management tasks via a snap with 'account_control' access we're unable to fully get rid of a user(i.e. home dir) with 'userdel ACCOUNT' since 'userdel' does not yet support --extrausers (like "adduser --extrausers" does).

I believe we could work around this by adding permissions to /home/** for interface 'account_control' and allow app devs to manually remove user's home dir manually. Until proper support for --extrausers have been implemented in 'userdel'.

description: updated
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I'm marking this as triaged but can you double check that --extrausers is still missing. I recall reading that it has landed somewhere. Please respond if this is no longer a problem.

Changed in snappy:
status: New → Triaged
importance: Undecided → Medium
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.