Vizitiu, Ciprian
2003-Jun-10 19:44 UTC
[Samba] Samba newbie need help with files copied from NT to s amba linux box...
> > I've managed to get samba up and running on my rh7.3 web > server. I'm able to see this server in My Network Places and > browse to see the shared directories. My problem is this: > I want to create and test my web pages on my XP box using > DWMX, upload these files to one of the shared directories to > be published to the site. The problem is that after copying a > few files to this directory for testing; I go to the linux > box and copy the files to my /wwwroot/htdocs directory and > attempt to access it from a broswer. I get page not found. > The files aren't displaying as they do in DWMX.Here a better trick: define a share that will point to your /wwwroot/htdocs! So there would be no need to copy them to an other folder. ;-) In smb.conf have something like [webdevelop] comment = Web root drive path = /wwwroot/htdocs public = yes read only = no browsable = yes create mask = 0777 directory mask = 0777 This should get you in the right direction. Then man smb.conf and see about file permisions. The files that you put there are supposed to be read by the apache user (f you haven't changed anything...) OTOH samba will create them as the user that you connect. So look at groups and file permisions. The above 777 example is not a good ideea but should you started.