ESYAE-imza Kütüphaneleri

User Tools

Site Tools


playground:playground

Bu, dökümanın eski bir sürümüdür!


Başlık1 Başlık2
Tablo1
Tabnlo2

PlayGround

Test Ediyorum. ====== 1)

main 
{
Test = test;
}
 
main {
Buda benim kodum
Kod güzel yazılıyor
Enteresan
}

// %%*%%////%%*%%//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.




1) Foodnote ID = 001
playground/playground.1373540514.txt.gz · Son değiştirilme: 2013/07/11 11:01 Değiştiren: baran.kilic