-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packages that uses user doesn't work anymore after reinstalling #2080
Comments
Expected behaviour. User is assigned by Android OS and there no way to avoid that. Never restore data as root and you won't have uid/gid mismatch. Use backup/restore method exactly as in https://wiki.termux.com/wiki/Backing_up_Termux
Postgresql database shouldn't depend on system user name. You are not providing the error messages, so it is unknown what the issue with Postgresql. |
i guess im gonna drop my data then, also thanks for the extra info for the user its helpful so i dont do anymore mistake except for myself. thanks for the response have a great day |
You can try something like this to restore permissions. |
ill try opening it tomorrow with a vpn since my country blocks reddit for safety reason |
Oh boy... To change ownership to path=/data/data/com.termux/files/usr; su -c "chown $(id -u):$(id -u) -R $path; restorecon -Rv $path"
path=/data/data/com.termux/files/home; su -c "chown $(id -u):$(id -u) -R $path; restorecon -Rv $path" This may affect programs that require root owned files instead of |
just a few minutes ago i was backing up my data and restoring it in a new termux installed from f-droid and after that packages that uses my user doesn't work because user u0_a615 does not exists on the packages like postgresql and such is there a way to fix this or am i supposed to drop all of my datas
The text was updated successfully, but these errors were encountered: