diff options
author | ivan <ivan> | 2003-09-24 17:20:33 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-09-24 17:20:33 +0000 |
commit | f4f77f82129f972d17d95a1e1f7bda9d1f1c4325 (patch) | |
tree | dcdbfc68ad6957243818b20f04b0259c776a7bbc /FS | |
parent | 5d670a64ca3f41f2dde8899507bf1544abb1b041 (diff) |
don't change dir either when username_pwonly is set
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export/shellcommands.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index 8d9795a7d..da24e5ca7 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -93,6 +93,9 @@ sub _export_replace { if ( $old_uid != $new_uid ) { $error ||= "can't change uid"; } + if ( $old_dir ne $new_dir ) { + $error ||= "can't change dir"; + } return $error. ' ('. $self->exporttype. ' to '. $self->machine. ')' if $error; } |