diff options
author | Antoine Ginies <aginies@mandriva.com> | 2004-08-13 05:58:00 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2004-08-13 05:58:00 +0000 |
commit | 41d2542f1269a22a72e4d8679cb1de99d9ef93ce (patch) | |
tree | de71f6651a60fd39bd8148612f1e1a45ec24f9ee /samba_wizard | |
parent | 39e18f4c1bf181f9bbf2de8e89d73e41350501ce (diff) | |
download | drakwizard-41d2542f1269a22a72e4d8679cb1de99d9ef93ce.tar drakwizard-41d2542f1269a22a72e4d8679cb1de99d9ef93ce.tar.gz drakwizard-41d2542f1269a22a72e4d8679cb1de99d9ef93ce.tar.bz2 drakwizard-41d2542f1269a22a72e4d8679cb1de99d9ef93ce.tar.xz drakwizard-41d2542f1269a22a72e4d8679cb1de99d9ef93ce.zip |
add a chown on share directory
Diffstat (limited to 'samba_wizard')
-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; } |