Jump to content

PHP on a WAMP-System on my openSuse 11.4 system - permissions-question


dilbertone

Recommended Posts

hello dear PHP-Fans - greetings to you - and a happy new year!!

 

 

i set up a WAMP-System on my openSuse 11.4 system.  In order to learn as much as i can bout PHP i want to do some tests and write some scripts.

 

Well the WAMP is allready up and running.  Now i try to give the writing access to the folder

 

mkdir /srv/www/

 

where the php-scripts should go in...

 

i want  to give write permission to all to all files in /srv/www

 

As root I generally:

 

mkdir /srv/www/

chown <webmaster usrername> /srv/www/

 

/srv/www/ should be readable and traversable by all, but only writeable by it's owner (the user designated as the webmaster.)

 

can i do this like mentioned above,...

 

Love to hear from you

 

greetings

db1

Link to comment
Share on other sites

hello dear thorpe

 

many thanks - and a prosperous happy new year to you!

 

Firstly, the W in Wamp stands for windows. Considering your using Linux, you have what is known as Lamp.

 

Now to your issue:

 

chmod 711 /src/www

thx i will  try it out!!

 

 

have agreat day!

greetings

db1

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.