Prova1ver Posted November 9, 2009 Report Share Posted November 9, 2009 Sveiki, meigināju vienam failam uzlikt chmod 666 atlauju, bet man izmet šādu eroru: 504 Command not implemented for that parameter. Kas nav pareizi>? Quote Link to comment Share on other sites More sharing options...
xmas12 Posted November 9, 2009 Report Share Posted November 9, 2009 Tak prieškam tev likt to visu caur filezilla? liec caur weba kontrol paneli un ir daudz labaak! Quote Link to comment Share on other sites More sharing options...
briedis Posted November 9, 2009 Report Share Posted November 9, 2009 Tak prieškam tev likt to visu caur filezilla? liec caur weba kontrol paneli un ir daudz labaak! Manuprāt, ne visiem tāds ir. Paprovē ar php skritpa palīdzību salitk chmodus... Quote Link to comment Share on other sites More sharing options...
Prova1ver Posted November 9, 2009 Author Report Share Posted November 9, 2009 <? system("ls -l > mapesnosaukums"); chmod("test.txt", 0666); ?> Apmēram šads viņš ir? Un ja man jaliek uz visu mapi man jataisa atsevisk fails vai jaliek kods ieksā .htaccess? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted November 9, 2009 Report Share Posted November 9, 2009 system('chmod -R 0666 /cels/uz/mapi'); Quote Link to comment Share on other sites More sharing options...
Prova1ver Posted November 9, 2009 Author Report Share Posted November 9, 2009 system('chmod -R 0666 /cels/uz/mapi'); Laikam jau ka nebus Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted November 9, 2009 Report Share Posted November 9, 2009 Jo... ? Quote Link to comment Share on other sites More sharing options...
Prova1ver Posted November 9, 2009 Author Report Share Posted November 9, 2009 Jo... ? system('chmod -R 0777 D:\xampp\htdocs\mape\mape'); .htaccesss meiginaju, bet bez panakumie Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted November 9, 2009 Report Share Posted November 9, 2009 .htaccess te "ņe pri čom". Ja tā ir windows sistēma, tad maini ar windows līdzekļiem - uz windows chmod nedarbojas. Quote Link to comment Share on other sites More sharing options...
Prova1ver Posted November 9, 2009 Author Report Share Posted November 9, 2009 .htaccess te "ņe pri čom". Ja tā ir windows sistēma, tad maini ar windows līdzekļiem - uz windows chmod nedarbojas. Kādi ir tie windows līdzekļi? Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted November 9, 2009 Report Share Posted November 9, 2009 Labās peles pogas klikšķis uz faila/mapes -> Properties -> Security -> uzliekam vajadzīgās pieejas tiesības. Vai komandrindā utilīta: cacls (lietošanas piemērus ieraudzīsi, ja komandrindā ievadīsi cacls /?) Quote Link to comment Share on other sites More sharing options...
Prova1ver Posted November 9, 2009 Author Report Share Posted November 9, 2009 kaa var uzlikt 666 piekluvi, ja windowsaa ir read and execute kopa Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted November 10, 2009 Report Share Posted November 10, 2009 Paņem advanced... Tur var uzlikt read bez execute: http://www.microsoft.com/windowsxp/using/networking/security/permissions.mspx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.