[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
 OpenForum.dk • Vis emne - chmod - hvilket "level" skal mine filer have?

chmod - hvilket "level" skal mine filer have?

Spørgsmål og svar om installation af osCommerce standardpakke.
Problemer med contribution kan indlægges i Contributions.

Redaktør: Redaktionen

chmod - hvilket "level" skal mine filer have?

Indlægaf tcdk » 2009-09-10 00:38

Hej

Jeg har fundet ud af at alle filer på min server har "adgangslevel" 644 - er dette ikke for højt? burde det ikke maks være 444 ?

Er der evt. nogen der har et php script til at ændre alle filer i en angivet folder (chmod) eller som evt. kan tage alle filer i en folder incl. subfolders.
tcdk
Godt igang
Godt igang
 
Indlæg: 67
Tilmeldt: 2007-10-4 08:19

Re: chmod - hvilket "level" skal mine filer have?

Indlægaf MrsAnn » 2009-09-16 22:40

Hej

Der er et indlæg i dette forum og hvis du googler 644 php oscommerce, finder du en masse information om rettigheder på hhv. mapper og filer:-)

For mit vedkommende, ser det ud til, at de fleste af mine filer har 755 undtagen configure.php
Få hjælp til PrestaShop

Flotte modetasker online

Køb retro køkkenvægt, bageartikler, opbevaringsdåser, tekander og tea for one, og flotte krus til te, kaffe og cappuccino hos
MrsAnn
Moderator
Moderator
 
Indlæg: 526
Tilmeldt: 2009-05-11 20:18

Re: chmod - hvilket "level" skal mine filer have?

Indlægaf olby » 2009-09-17 00:26

Hej tcdk.

644 er helt fint - det tillader at du selv retter i egne filer og at andre kun kan læse dem, så det er sikkert.
755 tilføjer execute ret for alle, men behøves ikke (ikke sikkerheds risiko).
Mapper som f.eks. /images skal være 777 for at sikre dine uploads
Filer som configure.php anbefales normalt at være 444 - så ingen kan skrive i dem

Hvis det endelig skulle være at du vil ændre dine rettigheder, så kan man bygge et script op omkring denne php-kommando:
http://us3.php.net/manual/en/function.chmod.php

Ønsker du (eller andre) at vide mere om chmod, så kan man starte her:
http://en.wikipedia.org/wiki/Chmod
Mvh olby
Hjælp til selvhjælp: Giv din kollega konstruktiv kritik og eller vejledning - tak :).
Brugeravatar
olby
Administrator
Administrator
 
Indlæg: 2552
Tilmeldt: 2003-01-1 22:27
Geografisk sted: Odder

Re: chmod - hvilket "level" skal mine filer have?

Indlægaf rosengren » 2010-01-20 03:14

Brugeravatar
rosengren
Godt igang
Godt igang
 
Indlæg: 55
Tilmeldt: 2008-02-1 09:46
Geografisk sted: Aalborg


Tilbage til Installation og konfiguration

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 14 gæster

cron