Hi there,
I would like to ask the following question although I think it will fail due to some reason, but perhaps it's interesting to get the answer - at least for me! Okay, I'm not very familiar with android but I know UNIX / Linux for quite a long time - since the 1980s ;) What I do know is:
I'm quite sure, this won't work - otherwise this would be done every time, cause it would be so easy. So the question is not - does this work, the question would be - why would this not work out?
- And thanks for keepin' me away from friggeling around with life Linux CDs trying to set up an external filesystem 'n stuff, 'cause I do not have a Linux up and running anymore- I'm just a user - hackin' times have passed quite a time ago for me :angel:
I would like to ask the following question although I think it will fail due to some reason, but perhaps it's interesting to get the answer - at least for me! Okay, I'm not very familiar with android but I know UNIX / Linux for quite a long time - since the 1980s ;) What I do know is:
- root user id is always 0 on any UNIX system (also on android)
- a UNIX filesystem mounted on an UNIX system will accept the user permissions set on the mounted filesystem
- an executable file, owned by root and the "sticky bit" set, will run under root permission
- only thing to do is to change from effective user id to real user id during this executable is running
I'm quite sure, this won't work - otherwise this would be done every time, cause it would be so easy. So the question is not - does this work, the question would be - why would this not work out?
- And thanks for keepin' me away from friggeling around with life Linux CDs trying to set up an external filesystem 'n stuff, 'cause I do not have a Linux up and running anymore- I'm just a user - hackin' times have passed quite a time ago for me :angel:
Aucun commentaire:
Enregistrer un commentaire