Koozali.org: home of the SME Server

ibay permissions

Offline ElFroggio

  • *
  • 262
  • +0/-0
ibay permissions
« on: October 13, 2014, 04:05:14 AM »
Hi.

I'd like some clarification:

I just did an upgrade from 8.1 to 9. I have a few ibays, and through the SME interface they are all:

Code: [Select]
Group: Everyone
User access...: write: group, read: everyone

but the file permissions are different:

Code: [Select]
[root@ethelbert ibays]# ls -alF sritch.dp7/
total 24
drwxr-xr-x  6 root   root   4096 Jul 18  2012 ./
drwxr-xr-x 12 root   root   4096 Jun 18 08:53 ../
drwxrwsr-x  2 apache shared 4096 Dec 23  2011 .AppleDesktop/
drwxrwsr-x  2 apache shared 4096 Dec 23  2011 cgi-bin/
drwxrwsr-x  2 apache shared 4096 Dec 23  2011 files/
drwxrwsr-x 10 apache shared 4096 Oct 12 18:45 html/
[root@ethelbert ibays]# ls -alF networks.pm/
total 24
drwxr-xr-x  6 root root   4096 Jul 18  2012 ./
drwxr-xr-x 12 root root   4096 Jun 18 08:53 ../
drwxrws---  2 root shared 4096 Dec 23  2011 .AppleDesktop/
drwxrws---  2 root shared 4096 Dec 23  2011 cgi-bin/
drwxrws---  2 root shared 4096 Dec 23  2011 files/
drwxrws--- 14 root shared 4096 Jul 18  2012 html/
[root@ethelbert ibays]# ls -alF testing/
total 24
drwxr-xr-x  6 root  root   4096 Dec 27  2013 ./
drwxr-xr-x 12 root  root   4096 Jun 18 08:53 ../
drwxrwsr-x  2 admin shared 4096 Dec 23  2011 .AppleDesktop/
drwxrwsr-x  2 admin shared 4096 Dec 23  2011 cgi-bin/
drwxrwsr-x  2 admin shared 4096 Dec 23  2011 files/
drwxrwsr-x  9 admin shared 4096 Jun 19 13:41 html/

I seem to be able to update the websites on the ibays but have I done something wrong?

Thanks

Syv

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: ibay permissions
« Reply #1 on: October 14, 2014, 11:44:05 PM »
Looks like you networks.pm ibay has permissions Write: group, Read: group and not Write: group, Read: everyone. Please, check

Code: [Select]
db accounts show networks.pm
C'est la fin du monde !!! :lol:

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: ibay permissions
« Reply #2 on: October 14, 2014, 11:52:19 PM »
Looks like you networks.pm ibay has permissions Write: group, Read: group and not Write: group, Read: everyone. Please, check

Code: [Select]
db accounts show networks.pm

Code: [Select]
[root@ethelbert ~]# db accounts show networks.pm
networks.pm=ibay
    AllowOverride=all
    CgiBin=enabled
    FollowSymLinks=enabled
    Gid=5008
    Group=shared
    Indexes=disabled
    Name=911networks
    PasswordSet=no
    PublicAccess=none
    SSL=disabled
    Uid=5008
    UserAccess=wr-group-rd-group

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: ibay permissions
« Reply #3 on: October 15, 2014, 08:37:12 AM »
So, as you can see, read access is restricted to the ibay group. Everything is normal, as configured
C'est la fin du monde !!! :lol: