diff options
author | kleink <kleink@pkgsrc.org> | 1999-01-09 20:49:26 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 1999-01-09 20:49:26 +0000 |
commit | bf237c0e31e04294c4ba67e152632c693129d0fc (patch) | |
tree | 05da6f8ab664235e90139c74a588410307f679b6 /www | |
parent | 9eff042734e62770d63efdee33d23b310692fc84 (diff) | |
download | pkgsrc-bf237c0e31e04294c4ba67e152632c693129d0fc.tar.gz |
Get rid of obsolete chown(8) operand usage.
Diffstat (limited to 'www')
-rwxr-xr-x | www/zope/files/zope-install.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/zope/files/zope-install.py b/www/zope/files/zope-install.py index ea232045594..0318dd7b998 100755 --- a/www/zope/files/zope-install.py +++ b/www/zope/files/zope-install.py @@ -1,6 +1,6 @@ #!/usr/pkg/bin/python # -# $NetBSD: zope-install.py,v 1.1.1.1 1998/12/12 17:28:23 tsarna Exp $ +# $NetBSD: zope-install.py,v 1.2 1999/01/09 20:49:27 kleink Exp $ # $Endicor$ # # Copyright (c) 1998 Endicor Technologies, Inc. @@ -147,7 +147,7 @@ if __name__ == "__main__": if not exists(instvar + "/Data.bbb"): runsys(pretend, "cp %(zopevar)s/Data.bbb.in %(instvar)s" % vars()) - runsys(pretend, "chown -R %(user)s.%(group)s %(dirname)s" % vars()) + runsys(pretend, "chown -R %(user)s:%(group)s %(dirname)s" % vars()) runsys(pretend, "chmod -R u+rwX,g+rX,g-w,o-rwx %(dirname)s" % vars()) fname = dirname + "/access" @@ -159,12 +159,12 @@ if __name__ == "__main__": createfile(pretend, fname, perms + '\n') runsys(pretend, - "chmod 600 %(fname)s; chown %(user)s.%(group)s %(fname)s" % vars()) + "chmod 600 %(fname)s; chown %(user)s:%(group)s %(fname)s" % vars()) fname = cgidir + '/' + instance + ".cgi" createfile(pretend, fname, resourcefile(vars())) runsys(pretend, - "chmod 755 %(fname)s; chown %(user)s.%(group)s %(fname)s" % vars()) + "chmod 755 %(fname)s; chown %(user)s:%(group)s %(fname)s" % vars()) sys.stderr.write(""" now you will need to add lines similar to these to your |