when installing an app XDG_DATA_HOME/<APP_PKGNAME dir should be automatically created

Bug #1551365 reported by dinamic
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Invalid
Undecided
Unassigned
Client Developer Experience
Invalid
Undecided
Zoltan Balogh

Bug Description

when installing an app XDG_DATA_HOME/<APP_PKGNAME dir should be automatically created. the SDK does that when launching apps on the device.

Changed in canonical-devices-system-image:
status: New → Confirmed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This is an explicit decision to avoid creation of a lot of unused folders on the device. Perhaps the bug is that the SDK should not do this so that its consistent.

Changed in canonical-developer-experience:
assignee: nobody → Zoltan Balogh (bzoltan)
status: New → Incomplete
Changed in ubuntu-sdk-ide:
assignee: nobody → Benjamin Zeller (zeller-benjamin)
Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

The SDK needs to create those directories to provide some of its features. For example to grep the stdout/stderr the application needs to write those into a unix pipe. The application directories are where the apps can write. So without extending the apps apparmor profiles just for the case of running it from the SDK that would not work. And we should not change the confinement too much when running from the SDK to provide a debugging/development experience as close as possible to production.

Changed in ubuntu-sdk-ide:
status: New → Invalid
Revision history for this message
dinamic (dinamic6661) wrote :

to avoid the creation of a lot of unused folders, on app uninstall time the folder if empty can be deleted.

Zoltan Balogh (bzoltan)
no longer affects: ubuntu-sdk-ide
Changed in canonical-developer-experience:
status: Incomplete → Invalid
Changed in canonical-devices-system-image:
status: Confirmed → Invalid
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.