Answer Posted / neha c
UMASK:- user file creation mask. This tells which
permissions are hidden from the owner, group and other. It
doesnt tell which permissions are granted rather tells which
are denied.
Default file permissions=666
Default directory permissions=777
Actual file permissions= (Default file permissions) - (Value
of Umask)
If value of UMASK = 232 then actual file permissions=
666-232= 434
Value of UMASK can be changed by the following command:-
UMASK <new_value_to_be_given>
UMASK 253
Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is the conditional statement in shell scripting?
What language is bash?
How to find all the files modified in less than 3 days and save the record in a text file?
How to print pid of the current shell?
What is the difference between break and continue commands?
Explain about non-login shell files?
State the advantages of shell scripting?
How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }
What is the way to do multilevel if-else's in shell scripting?
What are the advantages of shell script?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
Explain about debugging?
What language is used in terminal?
Explain about sourcing commands?
What can you do with powershell?