On Mon, Nov 30, 2009 at 8:21 PM, Victor Subervi <victorsube...@gmail.com>wrote:

> Hi;
> I get the following error when I try
> os.remove(file)
>
> *OSError*: [Errno 13] Permission denied: 'particulars.py'
>       args = (13, 'Permission denied')
>       errno = 13
>       filename = 'particulars.py'
>       strerror = 'Permission denied'
>
> Here are the permissions:
>
> -rwxr-xr-x  1 root root   455 Nov 28 05:58 particulars.py
>

Try chmodding the file to 755.


> When I go into the python interpreter and execute that statement, it
> succeeds. What have I missed?
> TIA,
> Victor
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to