Koozali.org: home of the SME Server

Owner of Ibay

PsyDuck

Owner of Ibay
« 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.

bobk

Owner of Ibay
« Reply #1 on: October 06, 2004, 01:39:15 PM »
PsyDuck,

I really hate to say this but you need to read Chapter 14 of the SME Server User Manual .

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.

PsyDuck

Owner of Ibay
« Reply #2 on: October 06, 2004, 02:09:12 PM »
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?

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Owner of Ibay
« Reply #3 on: October 07, 2004, 03:08:19 PM »
psyduck,

Quote
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.
............

PsyDuck

Owner of Ibay
« Reply #4 on: October 08, 2004, 08:21:00 AM »
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

Offline Reinhold

  • *
  • 517
  • +0/-0
    • http://127.0.0.1
Owner of Ibay
« Reply #5 on: October 08, 2004, 02:04:59 PM »
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"  :-(
............

PsyDuck

Owner of Ibay
« Reply #6 on: October 11, 2004, 10:48:12 AM »
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