[Unit]
Description=Automatically repair incorrect owner/permissions on core devices
Before=snapd.service
# don't run on classic
ConditionKernelCommandLine=|snap_core
ConditionKernelCommandLine=|snapd_recovery_mode
Documentation=man:snap(1)

[Service]
Type=oneshot
ExecStart=/usr/lib/snapd/snapd.core-fixup.sh
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

