walterm at cmat.edu.uy
Mon Feb 12 14:49:07 CET 2001
Hello Python people.
Hope this question not to be too off topic.
Inside a Python script I must read a file owned by root with permissions
600. But I want the script can be executed by a normal user. What can I do?
I am using sudo but this implies that the users must be listed in /etc/sudoers
and they get all the privileges. Is there an elegant solution?
Thanks. -- Walter
Walter Moreira # Centro de Matematica # Universidad de la Republica
walterm at cmat.edu.uy http://www.cmat.edu.uy/~walterm Uruguay
/OD\_ | "Agent Smith: Never send a human to do a
O o . |_o_o_) | machine's job." -- From ``The Matrix''
More information about the Python-list