[NOT A BUG] A weird choice for a directory to save downloaded files #127

Open
opened 2023-10-07 12:29:02 -04:00 by ChrysoliteAzalea · 2 comments
ChrysoliteAzalea commented 2023-10-07 12:29:02 -04:00 (Migrated from github.com)

Hello everyone!

I just noticed that this script choose a directory to save downloaded files a bit weirdly -- to /home/root. Isn't superuser's home directory /root by standard? It's not a bug (everything works as intended), I just wonder what was the reason for such choice. Is root home folder placed on /home/root to some distributions? (I know distributions with very bizarre filesystem hierarchy and utilities like... Android, for example, but it doesn't have a concept of "superuser's home directory", it has app-specific directores, shared storage and /data/local/tmp for ADB use)

Hello everyone! I just noticed that this script choose a directory to save downloaded files a bit weirdly -- to ```/home/root```. Isn't superuser's home directory ```/root``` by standard? It's not a bug (everything works as intended), I just wonder what was the reason for such choice. Is root home folder placed on ```/home/root``` to some distributions? (I know distributions with very bizarre filesystem hierarchy and utilities like... Android, for example, but it doesn't have a concept of "superuser's home directory", it has app-specific directores, shared storage and ```/data/local/tmp``` for ADB use)
itscool900 commented 2025-12-19 10:14:58 -05:00 (Migrated from github.com)

+1--not sure how this happened

+1--not sure how this happened
itscool900 commented 2025-12-19 12:56:39 -05:00 (Migrated from github.com)

Found it.
sed -i 's/SUDO/DOAS/g tools/helper.py

Found it. `sed -i 's/SUDO/DOAS/g tools/helper.py`
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wbruno/waydroid_script#127