Re: move_uploaded_file isn't working
From: Gordon Burditt (gordonb.mw6xd_at_burditt.org)
Date: 08/10/04
- Next message: CJ Llewellyn: "Re: pop-up to add data to parent?"
- Previous message: Max: "pop-up to add data to parent?"
- In reply to: Alvaro G Vicario: "Re: move_uploaded_file isn't working"
- Next in thread: Justin Koivisto: "Re: move_uploaded_file isn't working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Aug 2004 13:56:56 GMT
>> Why do I need 777. Is write and read acces not enough?
>
>Without access permission you can read and write files--you just can't get
>directory listings.
Without search permission (what I prefer to call x permission as
applied to directories), you may be able to read the directory
(depends on read permission), but you cannot access any files under
that directory. A mode 444 directory is pretty much useless (except
to root), as all you can do is list the files you can't access.
The same applies to a mode 666 directory (you can't create files,
either). A mode 111 directory allows you to access the files and
directories in it (subject to their permissions) *IF* you can guess
their names.
Permissions like 755 or 750 or 700 or 777 are more normal for
directories. The octal digits 2, 3, 4, or 6 are fairly unusual in
directory permissions, and in my experience, it's usually a mistake
(although I'm not claiming there is absolutely NO use for these).
Gordon L. Burditt
- Next message: CJ Llewellyn: "Re: pop-up to add data to parent?"
- Previous message: Max: "pop-up to add data to parent?"
- In reply to: Alvaro G Vicario: "Re: move_uploaded_file isn't working"
- Next in thread: Justin Koivisto: "Re: move_uploaded_file isn't working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|