File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ use uucore::display::Quotable;
2525use uucore:: entries:: { grp2gid, usr2uid} ;
2626use uucore:: error:: { FromIo , UError , UResult , UUsageError } ;
2727use uucore:: fs:: dir_strip_dot_for_creation;
28- use uucore:: mode:: get_umask;
2928use uucore:: perms:: { Verbosity , VerbosityLevel , wrap_chown} ;
3029use uucore:: process:: { getegid, geteuid} ;
3130#[ cfg( feature = "selinux" ) ]
@@ -339,7 +338,7 @@ fn behavior(matches: &ArgMatches) -> UResult<Behavior> {
339338
340339 let specified_mode: Option < u32 > = if matches. contains_id ( OPT_MODE ) {
341340 let x = matches. get_one :: < String > ( OPT_MODE ) . ok_or ( 1 ) ?;
342- Some ( mode:: parse ( x, considering_dir, get_umask ( ) ) . map_err ( |err| {
341+ Some ( mode:: parse ( x, considering_dir, 0 ) . map_err ( |err| {
343342 show_error ! (
344343 "{}" ,
345344 translate!( "install-error-invalid-mode" , "error" => err)
You can’t perform that action at this time.
0 commit comments