Koozali.org: home of the SME Server
Obsolete Releases => SME Server 6.x => Topic started by: jongkees on May 27, 2006, 11:03:12 PM
-
About a year ago I found a way to enable read-privileges for a separated ibay on my server. But after a fresh install of the server I forgot about making notes how to do this.
What I have - is a small hd with SME installed, and a large hd (mounted to an separate ibay) with my files, photo's and so on.
What I would like to do - is make a link on my homepage to the photo albums on the larger hd/ibay.
I needed to modify some templates and maybe more. How can I recreate the configuration?
-
Did you know that if you go http://domain_name/files/filename it works?
-
That works only for the domainname/ibay you are currently in, which is Primary,
To see the contents of an other ibay is not possible.
For example when I try to access my other harddrive mounted to ibay 'hd1' I get 'You don't have permission to access /hd1/ on this server.' (www.domainname.com/hd1/). Entering files/ behind doesn't help.
I had solved it once with a symbolic link and some additions to one of the templates.
-
ok, I'm not 100% sure on what your trying to do but... if it's an access deined error, what sort of file permissions do you have on the ibay? is you open the folder your trying to access, type the command "ls -la" what are the rights...
To be accessible to the web server user "www" needs to have access.
HTH
-
/home/e-smith/files/ibays/hd1 shows me
drwxrws--- 9 root website 4096 Mar 4 17:21 files/
drwxrws--- 2 root website 4096 Mar 4 21:36 html/
/home/e-smith/files/ibays/hd1/files shows me
drwxrwsr-x 13 root website 4096 May 27 21:41 Pictures/
So I assume these settings are correct because /home/e-smith/files/ibays/Primary shows me the same setting rights.
My ibay is now configured for no public access. I know this looks wrong, but I don't want my whole harddrive shared with the Internet. And I am pretty sure that's the same way I had configured it previously.
(When I had changes this setting to public access 'Entire Internet (no password required)' I couldn't access my local shares to this ibay on my LAN.)
I hope you understand what I'm trying to do?
-
Anybody any idea yet?