Can we use File.ListFiles or File.OpenInput as super user?
It seems the only way to run as su is via shell commands now, like using ls or cp to move the file, edit it and then move it back.
Thanks.
Can we use File.ListFiles or File.OpenInput as super user?
It seems the only way to run as su is via shell commands now, like using ls or cp to move the file, edit it and then move it back.
Thanks.
I don't really understand why we have to use the shell because it should be only a question of access rights, but I read this too, so I'm very interested by the answer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.