.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Tech (http://www.dsy.it/forum/forumdisplay.php?forumid=189)
-- [WEB]Modifica permessi sui file (http://www.dsy.it/forum/showthread.php?threadid=27785)


Posted by Skilotto83 on 22-10-2006 21:22:

[WEB]Modifica permessi sui file

Ciao a tutti..
Ho esigenza di scrivere su un file .php che sta sul mio sito alcune cose quando voglio...
Il problema è che sul dominio che ho (aruba.it) i permessi dei file sono solo in lettura...
La cartella public, unica che dovrebbe a parere di qualcuno avere i permessi in scrittura, non li ha..
Avendo acquistato spazio windows e non linux e volendo evitare di fare il passaggio anche a quest'ultimo, non posso cambiare i permessi di file e cartelle direttamente su FTP, non ho ben capito se dipenda solo da aruba.it oppure è una cosa generale del server windows..
Penavo di riuscire a risolvere il problema con uno script asp che andasse a modificare i permessi sui file quando messo in esecuzione..
Ma mi da Permission denied..
Ma come cazzo cambio sti permessi dei file??

Grazie

__________________
"Why, Sir, you find no man at all intellectual who is willing to leave London.
No, Sir, when a man is tired of London, he is tired of life; for there is in London all that life can afford."
(DR SAMUEL JOHNSON 1777)

MSN andrea.poretti(at)hotmail.it


Posted by ripe on 23-10-2006 09:42:

La cartella "public" ha i permessi anche in scrittura... se non dovesse essere così contatta l'assistenza e ripristineranno la cosa... ;)

Per quanto riguarda l'FTP è una protezione generale di sicurezza del server Windows, non dipende da Aruba.

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»


Posted by Skilotto83 on 23-10-2006 10:03:

grazie!
Ma spiegami una cosa...se io dovessi aver bisogno di fare delle modifiche su questo file.php e poi anche se magari temporanenamente
impostare con permessi di scrittura anche delle intere cartelle con sottocartelle...che faccio??
Metto tutto in public?
Ci saranno delle controindicazioni credo..no?
In generale conviene comprare l'hosting linux se si hanno queste necessita'?

__________________
"Why, Sir, you find no man at all intellectual who is willing to leave London.
No, Sir, when a man is tired of London, he is tired of life; for there is in London all that life can afford."
(DR SAMUEL JOHNSON 1777)

MSN andrea.poretti(at)hotmail.it


Posted by Hamelin on 23-10-2006 19:34:

In generale conviene comprare l'hosting linux se poi programmi in PHP!

__________________
Bjarne Stroustrup: "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone."
Andrew S. Tanenbaum: "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."
Edsger Dijkstra: "Computer Science is no more about computers than astronomy is about telescopes."
Robert Firth: "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs."
Donald Knuth: "A mathematical formula should never be 'owned' by anybody! Mathematics belong to God."


Posted by Skilotto83 on 23-10-2006 20:24:

allora sono riuscito...
Mettendo in public e poi facendo partire lo script che ho fatto le cartelle sono andate a permesso di scrittura..
Quello che mi chiedo è...
Perchè l'FTP nn si accorge delle variazioni edei permessi??
Ora il file è in scritura e infatti ci scrivo quando voglio..ma perchè se guardo le proprieta' nn risulta essere in scrittura...??
Vale per tutte le cartelle anche..sono settate correttamente a 777 in pratica, ma l'ftp continua a vedere 755...

__________________
"Why, Sir, you find no man at all intellectual who is willing to leave London.
No, Sir, when a man is tired of London, he is tired of life; for there is in London all that life can afford."
(DR SAMUEL JOHNSON 1777)

MSN andrea.poretti(at)hotmail.it


Posted by ripe on 23-10-2006 21:40:

Credo che il CHMOD su hosting Win non abbia nessun effetto...

Comunque io di solito tutto ciò che va scritto lo butto sotto public e vado via tranquillo.

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»


Posted by Hamelin on 25-10-2006 16:44:

I permessi dei file Unix non valgono ovviamente per il file system di M$!

__________________
Bjarne Stroustrup: "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone."
Andrew S. Tanenbaum: "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."
Edsger Dijkstra: "Computer Science is no more about computers than astronomy is about telescopes."
Robert Firth: "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs."
Donald Knuth: "A mathematical formula should never be 'owned' by anybody! Mathematics belong to God."


All times are GMT. The time now is 01:00.
Show all 7 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.