From 41d2542f1269a22a72e4d8679cb1de99d9ef93ce Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Fri, 13 Aug 2004 05:58:00 +0000 Subject: add a chown on share directory --- samba_wizard/Samba.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm index 52c335d7..e5d45a65 100755 --- a/samba_wizard/Samba.pm +++ b/samba_wizard/Samba.pm @@ -1,5 +1,4 @@ #!/usr/bin/perl - # Drakwizard # Copyright (C) 2002,2003 Mandrakesoft # @@ -21,8 +20,10 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. package MDK::Wizard::Samba; -use strict; +use interactive; +use strict; +use MDK::Common; use common; use services; use MDK::Wizard::Wizcommon; @@ -277,9 +278,9 @@ sub wiz_mkdir_p { } else { # Create parent directory wiz_mkdir_p(dirname($dir)) or return 0; - # Create our directory mkdir($dir, 0755) or return 0; + chown "nobody", "users", $dir; } 1; } -- cgit v1.2.1