Odd file permission after installation [message #5215] |
Fri, 23 August 2002 15:34 |
holstein
Messages: 9 Registered: August 2002 Location: Montreal
Karma:
|
Junior Member |
|
|
Hello.
First, some information : I'm new to FUDForum. I'm trying to install it for the first time on Solaris 2.8, PHP 4.2.2, MySQL 3.23.49.
Everything works fine : the install.php script do all it's job, creating root user and all. But I'm then left with a unmodifiable forum.
After the installation, I got those odd file permissions :
(my SERVERROOT directory)
$ cd www/mysite/htdocs/forum/
$ l -l
total 66
lrwxrwxrwx 1 mysite mysite 59 Aug 23 10:46 GLOBALS.php -> /www/mysite/htdocs/forum/data/include/GLOBALS.php
drwx--l--- 2 mysite mysite 1536 Aug 23 10:46 adm
-rw-rw-rw- 1 mysite mysite 43 Aug 23 10:45 blank.gif
drwxrwsrwx 11 bcaron mysite 512 Aug 23 10:44 data
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 help
drwx--l--- 8 mysite mysite 1024 Aug 23 10:24 images
-rw-r--r-- 1 mysite mysite 17701 Aug 23 10:55 index.php
-rw-rw-rw- 1 mysite mysite 4937 Aug 23 10:45 lib.js
-rw-rw-rw- 1 mysite mysite 869 Aug 23 10:45 php.php
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 styles
drwx--l--- 3 mysite mysite 512 Aug 23 10:55 theme
and for the data folder (my Forum Data Root) :
$ ls -l data/
total 22
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 cache
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 errors
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 files
drwx--l--- 4 mysite mysite 512 Aug 23 10:55 include
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 messages
drwx--l--- 4 mysite mysite 512 Aug 23 10:24 sql
drwx--l--- 2 mysite mysite 3072 Aug 23 10:55 src
drwx--l--- 3 mysite mysite 512 Aug 23 10:24 thm
drwx--l--- 2 mysite mysite 512 Aug 23 10:24 tmp
My webserver is running as user mysite, group mysite. Me and the others developpers are all members of mysite : we will need to be able to modify some file from the form to adapt some things from the forum to our site. Since the files have been created from the webserver, I tried to change the permission to those files by the way of a Perl script, run as a CGI. But it can't.
What is exactly the purpose of the 'l' in the group execution field of the ls -l? My ls man page talk about mandatory locking : is it accidental, or done on purpose by the FUDforum installer? I had some problem with file creation mask before, am I again a victim of that?
Thanks for any help!
|
|
|