diff options
Diffstat (limited to 'samba_wizard/Samba.pm')
-rwxr-xr-x | samba_wizard/Samba.pm | 7 |
1 files 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; } |