summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-06-19 15:49:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-06-19 15:49:44 +0000
commit7e0fa5c180eeb44c6674efa008cc8cf69af15df2 (patch)
tree30489d1efda3060eb5ec819198cb47e55b004b7a
parent8e6087befedc8f51b171a98262676f7837868b40 (diff)
downloaddrakx-backup-do-not-use-7e0fa5c180eeb44c6674efa008cc8cf69af15df2.tar
drakx-backup-do-not-use-7e0fa5c180eeb44c6674efa008cc8cf69af15df2.tar.gz
drakx-backup-do-not-use-7e0fa5c180eeb44c6674efa008cc8cf69af15df2.tar.bz2
drakx-backup-do-not-use-7e0fa5c180eeb44c6674efa008cc8cf69af15df2.tar.xz
drakx-backup-do-not-use-7e0fa5c180eeb44c6674efa008cc8cf69af15df2.zip
use "wide links = no" for exporting via samba (thanks to Jan Schäfer)
-rwxr-xr-xperl-install/standalone/fileshareset3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/fileshareset b/perl-install/standalone/fileshareset
index 79543af50..75bbacca6 100755
--- a/perl-install/standalone/fileshareset
+++ b/perl-install/standalone/fileshareset
@@ -126,7 +126,7 @@ package authorisation;
sub read_conf {
my ($exclusive_lock) = @_;
open F_lock, $authorisation_file; # don't care if it's missing
- flock(F_lock, $exclusive_lock ? 2 : 1) or die "can't lock";
+ flock(F_lock, $exclusive_lock ? 2 : 1) or die "can't lock $authorisation_file";
my %conf;
foreach (<F_lock>) {
s/#.*//; # remove comments
@@ -302,6 +302,7 @@ sub write {
public = yes
guest ok = yes
writable = no
+ wide links = no
EOF
}
}