Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: PsyDuck on October 06, 2004, 09:28:45 AM
-
Is there a cfg/template/script that sets the owner of Ibays when being cretated?
I would like the Ibay to be owned by the Ibay-user in order to allow Ibay-user to have write permissions.
-
PsyDuck,
I really hate to say this but you need to read Chapter 14 of the SME Server User Manual (http://mabit.net/sme/chpt-14.0.html) .
This explains in detail how to set-up "i-bays" for almost any purpose. If it doesn't answer your questions then come back here and I'll do my best to help you.
-
bobk,
That did actually explain the use of Ibays rather well. To bad I couldn't find the solution to my problem.
I would like to change some template/script/cfg to automatically set the Ibay-user as owner of the data in the Ibay when being created/modified. As of today the SME sets admin as owner and the only way I found to change this is to use 'chown -R' ....thus I guess it will be changed back to admin whenever I modify the Ibay in the webmanager?
Perhaps there is a valid (security) reason for not having this behaviour?
-
psyduck,
write access: the administrator can control access to the i-bay by associating the i-bay with a group. All groups previously created in the groups section of the server manager will appear in the drop-down menu under "group" in this section. In addition, two default groups will always appear - "administrator" and "everyone" (meaning all users, whether on the local network or on the Internet).
"C" SME CAN DO...
Note: The hierarchy of ownership distribution in Linux features GROUPS (of users) and
the above excerpt of what you already did read (?) clearly describes "how to do" it:
= make an i-bay "my-ibay" ;-)
owned by group "mine" ( see write-acces via panel "Information Bays") :-P
and user "you" (or is it "me" )is (maybe the only) member of group "mine" 8-)
Regards
Reinhold
PS: To get the basics behind this straigh, you might, from the commandline of your server, type
man chown
and you will read much more.
-
Perhaps I should explain what I want to accomplish.
I want the following permissions on the Ibay.
'Ibay-user' read / write
'Group x' read / write
'Everyone' no access
Since the Ibay user doesn't show up in the userpanel I can't (and don't want to) add it to the group.
Regards
Jonas
-
Jonas,
:-D Sometime one's blocked so pls. take it as a personal request: :-D
Recheck/read a little (more) about "permissions" in Linux/SME.
As I wrote man chown or info chown may work wonders...
After this please look again at the setting write:group read:group
See bobk. Me2thinks the SME manual is clear on this ... :roll:
Let's stop here in "Experienced" :-(
-
Sorry if I seem a bit hard to explain to, or if I just can't get my head out of my ***. :-)
I'm quite familiar with both chown/chmod and linux in general (not an expert though).
After I've done some research I've found that the Ibay user is automatically added to the group (which I didn't know) and the issue seems to be with Proftpd and Anonymous user login.
I apologise for the trouble, but sometimes it can be hard to explain the real problem.
/Jonas