Zum Inhalt springen

wie kann ich mit phpshell die root permission änderung vornehmen?

Erstellt am 26. März 2007 · Noch keine Antworten

Tags: Frage

conroe ·

Hallo,

ich bin grade dabei typo 3 auf meinem webserver
zu installieren.

habe die pakete mit phpshell soweit entpackt
und hänge nun fest die root permission zu änderen. in der anleitung der typo 3 installations dokumentation gibt es zwei möglichkeiten dies zu bewältigen.

Hier der Ausschnitt aus der Doku:

Set permissions (as root): There are at least two options.
These steps will make four directories writable for the webserver:
- cms/fileadmin/
- cms/typo3conf/
- cms/typo3temp/
- cms/uploads/

1.) (recommended)
Run these commands as root in the cms/ directory:
# chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads
# chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads

... where <wwwserver> is the name of the group your webserver
is running as

2.) (insecure but easy to apply)

I repeat: This is insecure!
Do not use this method if you are working on a shared server!

Simply run this command:
$ chmod -R a+w fileadmin typo3conf typo3temp uploads

nachdem ich die zweite variante versucht habe, erhielt ich diese fehlermeldung:

chmod: cannot access `fileadmin': No such file or directory
chmod: cannot access `typo3conf': No such file or directory
chmod: cannot access `typo3temp': No such file or directory
chmod: cannot access `uploads': No such file or directory

was habe ich falsch gemacht?

wie kann ich die erst variante genau ausführen.
da in der phpshell immer ein $ standardmässig zum befehl ausführen steht, ich jedoch in der ersten variante eine raute ausführen muss?

# chgrp -R <wwwserver> fileadmin typo3conf typo3temp uploads
# chmod -R g+w,o-rwx fileadmin typo3conf typo3temp uploads

was genau muss ich für das <wwwserver> eintragen, meinen provider mit rootverz. oder wie?

also wie kann ich diese root permission nun für all die folder am besten vergeben?

hoffe ihr könnt mir helfen.

#angry#