In article ,
Christian Heimes wrote:
>
>You have to set the write and execute permssion on *directory*, not on
>the file. unlink (aka remove) requires write permission on the directory
>in order to remove the file.
>
>It's like in the real world. You may be allowed to modify a document (w
>permis
On Tue, Dec 1, 2009 at 8:12 AM, Christian Heimes wrote:
> Victor Subervi wrote:
> > Well, that's what I've tried. I've loaded the permissions up, 0777, and
> it
> > still throws the same error. I've also tried os.chmod(file, 0777) from
> the
> > script, and I get the same permissions error. I can
Victor Subervi wrote:
> Well, that's what I've tried. I've loaded the permissions up, 0777, and it
> still throws the same error. I've also tried os.chmod(file, 0777) from the
> script, and I get the same permissions error. I can do all of this from the
> python prompt. I've set the ownership of th
On Mon, Nov 30, 2009 at 5:06 PM, Christian Heimes wrote:
> Victor Subervi wrote:
> > When I go into the python interpreter and execute that statement, it
> > succeeds. What have I missed?
>
> You are confusing the permissions of a Unix file system. In order to
> create or a remove a file from a d
Victor Subervi wrote:
> When I go into the python interpreter and execute that statement, it
> succeeds. What have I missed?
You are confusing the permissions of a Unix file system. In order to
create or a remove a file from a directory you need the x and w
permission to enter the directory (x) an
On Mon, Nov 30, 2009 at 8:21 PM, Victor Subervi 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 = 'Pe
On Mon, Nov 30, 2009 at 3:21 PM, Victor Subervi 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 = 'Pe
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 45