PDA

Bekijk de volledige versie : unix newbie question



arnold
05-03-2006, 11:41
hello,

i try to upload a php guestbook, now in the readme file they say "3 Enable Write Access to data.dat by everyone"

but with what kind of command do i do that

TheEagle
05-03-2006, 17:01
find the directory where data.dat is in ... then do


chmod a+w ./data.dat

or

chmod ugo+w ./data.dat


Of course that only works if you have access to the console of the webserver. Some FTP clients also are able to set permissions, if the server allows it.

arnold
06-03-2006, 07:11
i use putty to do that, so i have acces to that directory

TheEagle
06-03-2006, 11:01
Ok then do it. Did it work? :)

arnold
06-03-2006, 11:48
i'm not at home. now in the evening i will try

does it mather if i made a samba conection to the www directory, i made this conection so i can easely local upload new files to the site.