Pranav Bagora <[EMAIL PROTECTED]> writes:

> Hello,
>
> I am getting a permission Denied error when i am
> trying to make changes in some read only files in a
> directory. How do we check and change the read only
> attributes of files in python.

You want the os.stat and os.chmod functions.

    <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to