How to execute a file with (---x--x--x) Permissions and I am not the owner?

Gregory PiƱero gregpinero at gmail.com
Sun Aug 6 04:38:07 UTC 2006


On 8/6/06, Michael T. Richter <ttmrichter at gmail.com> wrote:
>
> The problem is, I think, that the interpreter itself has to open and read
> in the files to execute them.  Executing a proper binary is done at the OS
> level itself in the binary loader, so it doesn't require a process to open a
> file, read it, etc.
>
> So these Python scripts?  Have to be readable.  If you don't want them
> readable, you should do something like compile them to bytecode and make
> those files readable (after stripping all doc strings, etc.) which still
> won't quite do what you want, but will be better than what you've got.
>

Ok that makes sense, thanks for the help, Michael, and Felipe.

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060806/6f54367b/attachment-0001.html>


More information about the ubuntu-users mailing list