Re: How to create a file with read access rights

2007-06-21 Thread Evan Klitzke
On 6/21/07, Johny <[EMAIL PROTECTED]> wrote: > Is it possible to create a file on Linux with access rights? > For example > owner can read and write into the file > others can only read from the file > Thanks for replies Look at the documentation for os.open (for new files) and os.chmod (for e

Re: How to create a file with read access rights

2007-06-21 Thread Larry Bates
Johny wrote: > Is it possible to create a file on Linux with access rights? > For example > owner can read and write into the file > others can only read from the file > Thanks for replies > L. > See os.chmod() -Larry -- http://mail.python.org/mailman/listinfo/python-list

Re: How to create a file with read access rights

2007-06-21 Thread half . italian
On Jun 21, 8:27 am, Johny <[EMAIL PROTECTED]> wrote: > Is it possible to create a file on Linux with access rights? > For example > owner can read and write into the file > others can only read from the file > Thanks for replies > L. That all depends on your umask. Most commonly, the default

How to create a file with read access rights

2007-06-21 Thread Johny
Is it possible to create a file on Linux with access rights? For example owner can read and write into the file others can only read from the file Thanks for replies L. -- http://mail.python.org/mailman/listinfo/python-list