FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Default theme doesn't apply
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Default theme doesn't apply [message #6240 is a reply to message #6230] Sun, 06 October 2002 21:30 Go to previous messageGo to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma:
Senior Member
To understand this, u have to be familiar with Unix Smile. In general, files on UNIX systems have three properties of ownership.

1. owner himself
-rw------- 1 JoeDoe Staff
This would be read and right access, neither the group (staff) nor anyone else could get access to this file. the command would be:
chmod 600

2.group

-rwxr-x--- 1 JoeDoe Staff
let's assume joe doe has a kewl shell script (hence the executable flag is set) and wants his group members (staff) to make use of it too. to avoid changes to this file he removed the write flag. Anyone else still hasn't got access to this file. the command would be:
chmod 750

3. anyone else

the same joe doe has written a useful manual on how to perform file manipulations using perl. he would set the file to:
-rw-r--r-- 1 JoeDoe Staff
which equals chmod 644 Only in this case anyone who has access to the system can read the file. And exactly this case applies to Puretec. The server runs all scripts through the cgi wrapper as an unprivileged user. it does not own the files and belongs to a different group. hence it can only show the files if it has the "anyone" access.

4. Directories

Directories' rights have higher priority. if ur file has
-rwxr-xr-x and is a perlscript and resides in a directory with dr-x------ then it means that the file inherits this attribute -> the server can't read it. The owner himself can only modify or delete this existing file in the directory but can't create a new one because the inherited attribute is -r-x------ for files in the directory. As the directory's owner he still can individually change the file's right

Please note: u need at last read and execute flag for entering a directory. x because u want to invoke commands like ls or cat, don't u? Smile So the only useful options are r+x (5) r+w+x (7) or nothing (0)

This is how it works Smile Where the server can take the ownership of the files (php must be running as apache module) it can be made safe by chmodding anything to 600. Where it runs as cgi chmod 600 would be like shooting oneself in the foot.
hope this helps
bye Ken

[Updated on: Sun, 06 October 2002 21:39]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Public stats option does not work
Next Topic: can't run install.php, Internal Server Error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Jul 03 20:25:19 GMT 2024

Total time taken to generate the page: 0.03897 seconds