Koozali.org: home of the SME Server

SME Server and ACL support

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
SME Server and ACL support
« on: November 15, 2007, 03:28:55 PM »
Hi Forum,

I'm interested in providing acl support to ibays in a school environment, using SME Server 7.2
Schools really need a highly developed rights/permission control due to nature of the beast - I speak from years of experience.

This thread was discussing it:
Quote
http://forums.contribs.org/index.php?topic=33351.0
but the thread is dormant now - no activity for more than 60 days, so I started this thread...

Above thread referred to this link:
Quote
ftp://ftp.pbone.net/mirror/atrpms.net/el4-i386/atrpms/stable/acl-2.2.23-5_11.el4.at.i386.rpm
but I repeatedly get this error: "The requested URL could not be retrieved"
Google is also totally silent on the file name.

Does anyone know where to get the rpm? or some other way to achieve a greater acl?

TIA
SME Server is a fantastic product - thank you!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME Server and ACL support
« Reply #1 on: November 15, 2007, 06:42:38 PM »
Hi

have you tried?
Code: [Select]
yum install acl

HTH

Ciao
Stefano

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: SME Server and ACL support
« Reply #2 on: November 15, 2007, 10:20:13 PM »
Stefano,

I installed acl on my server at home. Busy reading the man page now. Do I need
to enable acl's (fstab) on the root partition? Sorry if dumb question.

Edit #1
added acl to the root (/) partition in fstab and rebooted.
Can now setfacl - proof acl's are working  :grin:

Thanks a mil

Edit #2
I found this discussion which is very informative - easy read compared to man:
Quote
http://www.suse.de/~agruen/acl/linux-acls/online/#tab:entries
« Last Edit: November 15, 2007, 11:12:04 PM by ardugh »
SME Server is a fantastic product - thank you!

Offline filippoc

  • *
  • 114
  • +0/-0
Re: SME Server and ACL support
« Reply #3 on: November 15, 2007, 11:39:03 PM »

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: SME Server and ACL support
« Reply #4 on: November 16, 2007, 12:14:37 PM »
Where do I set acl's the SME Server way - permanently?

I tried adding acl to this line in /etc/e-smith/templates/etc/fstab/50EnableQuotasForRootFS
Quote
{
    # Change defaults => usrquota,grpquota,acl for / file system
    @lines = map {
   /\s\/\s+ext[23]\s+defaults\s/ && s/defaults/usrquota,grpquota,acl/;
   $_
   } @lines;
    "";
}
Didn't work

I tried modifying /etc/fstab manually, did a reconfigure and reboot and the acl sticks - but is this the SME Server way?
SME Server is a fantastic product - thank you!

Offline byte

  • *
  • 2,183
  • +2/-0
Re: SME Server and ACL support
« Reply #5 on: November 16, 2007, 12:29:09 PM »
I tried modifying /etc/fstab manually, did a reconfigure and reboot and the acl sticks - but is this the SME Server way?

Only for the fstab yes, otherwise custom-template as usual.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!