Bu sayfanın seçili sürümü ile mevcut sürümü arasındaki farkları gösterir.
|
playground:playground [2013/07/15 08:14] baran.kilic |
— (mevcut) | ||
|---|---|---|---|
| Satır 1: | Satır 1: | ||
| - | ^Başlık1 ^Başlık2 | | ||
| - | |Tablo1 | | | ||
| - | |Tabnlo2 | | | ||
| - | |||
| - | |||
| - | PlayGround [[:playground:api|API]] | ||
| - | |||
| - | |||
| - | ====== Sapır Saçma ====== | ||
| - | |||
| - | |||
| - | Test Ediyorum. ====== ((Foodnote ID = 001)) | ||
| - | |||
| - | |||
| - | <code java5> | ||
| - | main | ||
| - | { | ||
| - | Test = test; | ||
| - | } | ||
| - | </code> | ||
| - | |||
| - | |||
| - | <code> | ||
| - | |||
| - | main { | ||
| - | Buda benim kodum | ||
| - | Kod güzel yazılıyor | ||
| - | Enteresan | ||
| - | } | ||
| - | </code> | ||
| - | |||
| - | |||
| - | ====== ////// %%*%%////////////%%*%%//////Tip: Using the setgid Bit////// %%*%%////////////%%*%%////// ====== | ||
| - | |||
| - | |||
| - | If you have commandline access to your server, you can use the setgid bit to retain permissions to delete files below the data/ directory although they were created by the web server. On directories where the setgid bit is set, newly created files/directories belong to the same group the directory with the setgid belongs to. The following example shows how to achieve such a setup for the user www-data who belongs to the group foo: | ||
| - | |||
| - | |||
| - | **data directory: FIXME \\ | ||
| - | **//yourwiki> chmod -R 775 data/\\ | ||
| - | yourwiki> chown -R www-data:foo data/\\ | ||
| - | everything below the data directory:\\ | ||
| - | yourwiki/data> chmod 2775 {attic,cache,index,locks,media,meta,pages,tmp}\\ | ||
| - | yourwiki/data> chown www-data:foo {attic,cache,index,locks,media,meta,pages,tmp}\\ | ||
| - | // In order to fully retain correct permissions, you must also change dmode to 02775 or similar so that newly created directories will also get the setgid bit set correctly. | ||
| - | |||
| - | |||
| - | \\ | ||
| - | \\ | ||
| - | \\ | ||
| - | \\ | ||
| - | |||
| - | |||
| - | \\ | ||