You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Env:
Lineageos 17.1 2020-11-30 (Android 10)
tar version:
1|OnePlus3T:/ $ tar --version
toybox 0.8.0-android
Oneplus3T
Issue:
I had an openvpn app that had a socket file in its data directory.
tar could not archive it and stopped in error with. Example to reproduce just with tar:
130|OnePlus3T:/ # tar -cf /sdcard/test.tar /dev/socket/logd
removing leading '/' from member names
tar: unknown file type '140000'
1|OnePlus3T:/ # echo $?
1
Workaround: I uninstalled openvpn before doing backup all
Solution: socket file are not supposed to be archived. Maybe use an optional better tar:
1|OnePlus3T:/ $ /sbin/.magisk/busybox/tar --version
tar (busybox) 1.31.1-Magisk
1|OnePlus3T:/ # /sbin/.magisk/busybox/tar -cf /sdcard/test.tar /dev/socket/logd
tar: removing leading '/' from member names
tar: /dev/socket/logd: socket ignored
OnePlus3T:/ # echo $?
0
The text was updated successfully, but these errors were encountered:
Env:
Lineageos 17.1 2020-11-30 (Android 10)
tar version:
Oneplus3T
Issue:
I had an openvpn app that had a socket file in its data directory.
tar could not archive it and stopped in error with. Example to reproduce just with tar:
Workaround: I uninstalled openvpn before doing backup all
Solution: socket file are not supposed to be archived. Maybe use an optional better tar:
The text was updated successfully, but these errors were encountered: