Koozali.org: home of the SME Server

FTP and a Mounted Directory

Terry Brummell

FTP and a Mounted Directory
« on: November 28, 2002, 03:13:09 PM »
I have a samba mounted directory on a Windows 2000 machine I wish to be writeable via FTP on the server.  I've created an ibay, appropriate permissions, everything there is fine.  The share is writeable via Windows Explorer, but when using FTP I get permission denied.  Doing some investigating I found this:  When the path is unmounted it's properties on the server are:

drwxr-sr-x    2 root     www          4096 Jul 13 10:38 my_2k_share

Once the path is mounted it changes:

drwxr-xr-x    1 root     root          512 Nov 21 17:07 my_2K_share

I suspect this is why I'm getting permission denied.  
My question is, when mounting via samba is there any way to have it not change the ownership of the device?

Terry

PS-what is the significance of the "2" and the "1" in those lines?  That's the 1st time I noticed them...