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
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
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
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