Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: tomlechowski on May 05, 2007, 02:28:03 PM
-
Hi, I'm very new to SME server so if you are going to attempt an explanation please keep that in mind. :)
I'm running SME server 7.1 as a gateway and firewalled server.
I've created a wordpress blog in an ibay (/blog) and would like to give everyone full read/write access so that all users can upload files to the blog. I don't want them to see the ibay directory as a samba share as they could easily delete critical files. How can I hide the samba share yet give everyone full access through the browser?
Thank you in advance. --Tom
-
hey tomlechowski,
don't think this is possible. your wanting full access and no access simultaneously. :shock:
i have tried to achieve something similar with applications that require full read / write access to run probably.
the best solution i could come up with was to ensure that you have a VERY good routine for backing up all the data in the ibay, that way recovery is not any great hassle.
not much of an option, but the best i have been able to find to achieve the same thing. would be greatly interested in other ways of getting round this full access / limited access logic.
cheers, shell
-
I don't want them to see the ibay directory as a samba share...
This can be done with a templates-custom fragment. Create the following:
/etc/e-smith/templates-custom/etc/smb.conf/ibays/20browseable
{
my $browseable = ($ibay->prop('Browseable') || 'yes');
$OUT .= "browseable = $browseable\n";
}
Then enter the db entry:
# db accounts setprop ibayname Browseable no
And finally issue this event:
# signal-event ibay-modify
Note if your workstation had previously been connected to and viewing this share you may need to restart your workstation to clear out the previously cached (visible) ibay share name.
Darrell
-
Also have a look at this, exactly the way Darrell mentioned...
http://bugs.contribs.org/show_bug.cgi?id=2966
-
I've created a wordpress blog in an ibay (/blog)
...
How can I hide the samba share yet give everyone full access through the browser?
If you don't want data shared via samba then don't install in an i-bay. I expect there's a wordpress contrib somewhere, or you can follow a HOWTO for installing without using an i-bay.
-
Ah, never say never! thanks to the powers that be for the good suggestions.
I guess where i was coming from was in terms of M$ applications housing (the one i pulled my hair out over was a library catalogue program). ie apps that do need to be presented in a samba / windows share (ie L:\), and require read / write access for users to run. The particular program had fantastic security but only from inside the program!
$shares I never had any joy with, and always assumed i was missing something obvious. which no doubt is the case! :?