So… I would like to see if it’s possible to make a file permissions extension.
What problem(s) would this Extension solve?
This extension would solve the problem of having to use CHMOD to change file permissions, which I cannot really understand how to use.
Explain what you were trying to do when you came across the problem
Sometimes I create files that are meant to be executed, but by default, don’t have the permissions. I don’t know how to use CHMOD so I tried to use SUDO, but sudo never works on Replit.
Anyways, even if it was, you can’t do anything as root on replit. That is by no means a substantial restriction, because you can install nearly anything either using chmod or from source.
sudo is useless on replit, because it will never work correctly. Also, before you start using things as root, you should first figure out how to use them without root privileges
That wiki explains how chmod works (it explains it far better than I could)
I do know that, after trying several times. Some commands like APT though only work with Sudo for some reason, because some file in the system doesn’t have correct permissions.
Well I nearly got it to work but now that they’re about to add the exec API I’ll just wait. But it would have been similar to by shell commands lib but special for file perms.