Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ltwally on July 04, 2007, 12:49:33 AM

Title: ibays acting oddly
Post by: ltwally on July 04, 2007, 12:49:33 AM
One of our clients is running SME 7.1.3.

When we browse ibays using Windows clients, some ibays point to the /files directory of the ibay, while other ibays point to the ibay directory.

This makes no sense, and there seems to be no rhyme-or-reason as to why.

Here's a pair of examples:
"\\ip-address\ibay1" opens a folder to "/home/e-smith/files/ibays/ibay1/files/"
"\\ip-address\ibay2" opens a folder to "/home/e-smith/files/ibays/ibay2/"

In this example, both ibays are using the same settings, and it doesn't seem to matter what settings I use because they always show the same thing.
Group: Everyone
User access...:  Write: group Read: Everyone
Public access...:  no access
Execution dyn-content:  enabled

If anyone has any ideas, I'd really appreciate it.

Thanks,
-ltwally


ps.  Our preference would be to open to the ibay directory, not to ibay/files.  This allows us to access the contents via http as well as via file sharing.
Title: Re: ibays acting oddly
Post by: raem on July 04, 2007, 01:11:55 AM
ltwally

The ibay subfolders /files, /html, /cgi-bin, are hidden (by the system) when the ibay is configured to NOT have internet access, so when browsing shares using Windows Explorer etc, your data files will appear to be in /ibay, but they are actually in /ibay/files.
If you take a look using the Linux command prompt, all the subfolders are still there and data files will be located in the /files subfolder.

When you enable Internet access to the ibay, then the subfolders are no longer hidden, so with Windows file sharing/Windows Explorer you WILL see .../ibay/cgi-bin, .../ibay/files, & .../ibay/html.
To be directly accessible via Internet using the URL www.yourdomain.com/ibayname, any data &/or web files should be in the html folder rather than the files folder.

Note you can access data files that are in the /files subfolder using the Internet URL of
www.yourdomain.com/ibayname/files


You say:
"When we browse ibays using Windows clients, some ibays point to the /files directory of the ibay, while other ibays point to the ibay directory."
"In this example, both ibays are using the same settings"

I would have said that the ibay settings must be different, ie one has Internet access enabled and the other has internet access disabled, that is theoretically the only reason why you should see differences in folder/file location.

If it's not behaving that way, then perhaps you have found a bug and should report it to bugzilla.
Title: Re: ibays acting oddly
Post by: CharlieBrady on July 04, 2007, 01:23:35 AM
Quote from: "ltwally"

Here's a pair of examples:
"\\ip-address\ibay1" opens a folder to "/home/e-smith/files/ibays/ibay1/files/"
"\\ip-address\ibay2" opens a folder to "/home/e-smith/files/ibays/ibay2/"

In this example, both ibays are using the same settings ...


Are you quite sure? Do:

db accounts show ibay1
db accounts show ibay2

and carefully check the PublicAccess property. I expect you'll see 'none' for ibay1, and something else for ibay2.