From bd43d2da5139061c93e2e0ffe0cc2d071a7f8405 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 19 Aug 2011 10:59:33 -0700 Subject: Fix deprecated use of chown Fix build warning on debian testing (more restrictive) W: vyatta-cfg-system: deprecated-chown-usage postinst:176 'chown -R root.vyattacfg' --- debian/vyatta-cfg-system.postinst.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 0eb74858..a95b7bcc 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -173,7 +173,7 @@ mkdir -p /opt/vyatta/etc/config/auth mkdir -p /opt/vyatta/etc/config/scripts mkdir -p /opt/vyatta/etc/config/user-data mkdir -p /opt/vyatta/etc/config/support -chown -R root.vyattacfg /opt/vyatta/etc/config +chown -R root:vyattacfg /opt/vyatta/etc/config chmod -R 775 /opt/vyatta/etc/config # create /opt/vyatta/etc/config/scripts/vyatta-postconfig-bootup.script -- cgit v1.2.3