~ubuntu-branches/ubuntu/jaunty/freeradius/jaunty-updates

« back to all changes in this revision

Viewing changes to debian/freeradius.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Paul Hampson
  • Date: 2005-10-16 21:26:30 UTC
  • mto: (3.1.2 dapper)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051016212630-73v9gjr6u0w4q4v1
Tags: upstream-1.0.5
ImportĀ upstreamĀ versionĀ 1.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
        find /etc/freeradius -type f -exec chgrp freerad {} \; -exec chmod 640 {} \;
40
40
        find /etc/freeradius -type d -exec chgrp freerad {} \; -exec chmod 2750 {} \;
41
 
        find /var/log/freeradius -exec chown freerad {} \; -exec chgrp freerad {} \;
 
41
        find /var/log/freeradius \( ! -user freerad -o ! -group freerad \) -exec chown freerad:freerad {} \;
42
42
 
43
43
        if [ "$2" = "" ] ; then
44
44
                action="start"