On Mon, 8 Sep 2003 18:04:44 -0800 [EMAIL PROTECTED] (Alejandro Chavarria - Cypage) wrote:
(my apologies if this appears twice!) > Does anyone know > of a way, where I can not allow ANYONE to view that text file, but > still let the program write to it? It appears there is a misunderstanding of what permissions mean. I suggest that you google for permissions/chmod. In the meantime; 777 means: User: Read, Write, Execute (this is the user that created the file- probably you) Group: Read, Write, Execute (if the user that created the file belongs to any groups, then they will be able to perform operations on the file) Other/World: Read, Write, Execute (this is the *dangerous* one; anybody can read, write or execute the file.) What you need to do is work out how 'social' you want to be. The user that created the file needs to read and write to it (first number; 6). Does the group that he/she belong to- if not, just allow the group to read it (second number; 4) and finally do we want the world or 'other' to read, write or execute it? Well, if its for the web, then they need to be able to read it (unless the file is going to be stored out of your web directory(ies) so we can just say '4' for the third value. 644. Hope that helps, GL -- Gavin Laking - Web Development Daemon http://www.gavinlaking.co.uk/ -- -- Gavin Laking - Web Development Daemon http://www.gavinlaking.co.uk/ -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]