.:G:. Posted October 21, 2004 Report Share Posted October 21, 2004 Nesapraaaatu! :huh: Link to comment Share on other sites More sharing options...
Venom Posted October 21, 2004 Report Share Posted October 21, 2004 paskaties ar ftp/scp exploreri kādas tai mapei ir tiesības, ūseris & grupa. un kādas citām - kur var uztaisīt apakšmapi tas ir tavs linuksis vai hostings? gan vienā, gan otrā gadījumā tu varētu pislēgties hostingam ar ftp-programmu (leechftp, far utt), scp - Putty, WinSCP, vai arī esot linux shellā (ar putty) palaist midnight commander (mc) un ar labo pogu vai tml iezīmējot to direktoriju, apskatīties tās properties, kur iR READ/WRITE/EXECUTE un ir rakstīts OWNER un GROUP Link to comment Share on other sites More sharing options...
.:G:. Posted October 21, 2004 Report Share Posted October 21, 2004 (edited) 777 failus ierakstiit arii nevar Edited October 21, 2004 by .:G:. Link to comment Share on other sites More sharing options...
.:G:. Posted October 23, 2004 Report Share Posted October 23, 2004 Kā lai panāk, lai viņš nemaina to owneru, vai arī kā lai dabū gatavu ka tajās mapēs var kautko ierakstīt ar PHP. Ar chown nemēģināju, bet apskatījos manuālī un tur stāv rakstīts ka chown arī pārbauda uid/gid, tāpēc pieņemu ka viņš neko nespēs izdarīt. Link to comment Share on other sites More sharing options...
.:G:. Posted October 26, 2004 Report Share Posted October 26, 2004 Izmeegjinaaju chown un --- Operation not permitted Kā lai uztaisa mapi kuraa php var kautko ierakstiit? Link to comment Share on other sites More sharing options...
.:G:. Posted October 26, 2004 Report Share Posted October 26, 2004 Bet kaa ir ar rmdir, ja ir safe mode tad jau arii tai nevajadzeetu straadaat, taa sapratu peec manuaalja, bet man tajaa pashaa failaa kur ir mkdir ir arii f-ja ar rmdir un taa straadaa? Link to comment Share on other sites More sharing options...
рпр Posted October 26, 2004 Report Share Posted October 26, 2004 ja ar php taisa, tad pieliek apacha tiesiibas, peec tam taisa dir, kas arii ir apacis un ja tiesiibas ir 777, tad vajadzeetu jau vareet uztaisiit. Link to comment Share on other sites More sharing options...
.:G:. Posted October 26, 2004 Report Share Posted October 26, 2004 direktorijas arii nevar uztaisiit :( owner 48:48 Access drwxrwxrwx Link to comment Share on other sites More sharing options...
рпр Posted October 26, 2004 Report Share Posted October 26, 2004 nezinu kas tev tur nesanaak, meegjini palaist shaadu skriptu un skaties kaadu kljuudas pazinjojumu tev izmet. error_reporting(E_ALL); $old_umask = umask(0); mkdir('test', 0777); mkdir('test/subdir', 0777); mkdir('test/subdir/subdir', 0777); umask($old_umask); Link to comment Share on other sites More sharing options...
Venom Posted October 26, 2004 Report Share Posted October 26, 2004 laikam šim arī būs kļūda, ka 0777 priekšā nulli nelika chmod($file,0777); Link to comment Share on other sites More sharing options...
.:G:. Posted October 29, 2004 Report Share Posted October 29, 2004 Nulles man ir saliktas! Arī pnp kods (kaut kas līdzīgs) ir mēģināts un nav gājis. Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 Ieliku pnp piedāvāto kodu : SAFE MODE Restriction in effect. The script whose uid/gid is 48/48 is not allowed to access ....... owned by uid/gid 2615/1000 in ...... on line .... uztaisīju failu ar apache tiesībām un mēģināju tajā includot citus failus man atkal met ārā to pašu kļūdu? Link to comment Share on other sites More sharing options...
Venom Posted November 2, 2004 Report Share Posted November 2, 2004 hm, varbūt mēģināt chmodot/chownot no php_exec ar sudo? Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 Ko tas iepriekš uzrakstītais nozīmē. :)) Link to comment Share on other sites More sharing options...
.:G:. Posted November 2, 2004 Report Share Posted November 2, 2004 (edited) izdomāju ka varētu uztaisīt kaut ko ar redirektiem - aizsūtam uz falu kuram ir apache useris nomainām mapju userus uz tādu kādu vajag un redirektējamies atpakaļ. Un kaa ir ar rmdir vai tai vajadzeetu strādāt uz mapēm uz kurām nestrādā mkdir? Edited November 2, 2004 by .:G:. Link to comment Share on other sites More sharing options...
Recommended Posts