Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


wht is the umask value to crate directory with only rw
options to root..?

Answers were Sorted based on User's Feedback



wht is the umask value to crate directory with only rw options to root..?..

Answer / rams

umask 177

drw------- 2 ramas sysadmin 512 Mar 6 15:21 ttt

Is This Answer Correct ?    9 Yes 2 No

wht is the umask value to crate directory with only rw options to root..?..

Answer / senthilakshmi

UMASK Value will be "000".

Root overrides all the permissions.

Example:

# chmod 000 test
# ls -ld test
d--------- 2 root root 512 Jun 19 16:02 test
# cd test
# pwd
/test
# mkdir test
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
# touch test1
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
-rw-r--r-- 1 root root 0 Jun 19 16:03 test1
#

Is This Answer Correct ?    1 Yes 2 No

wht is the umask value to crate directory with only rw options to root..?..

Answer / senthil kumar

Dear All,

Kindly ignore the above answer.

UMASK Value will be "777".

Root overrides all the permissions.

Example:

# chmod 000 test
# ls -ld test
d--------- 2 root root 512 Jun 19 16:02 test
# cd test
# pwd
/test
# mkdir test
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
# touch test1
# ls -l
total 2
drwxr-xr-x 2 root root 512 Jun 19 16:02 test
-rw-r--r-- 1 root root 0 Jun 19 16:03 test1
#

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Solaris AllOther Interview Questions

who to change the nis users passwd

5 Answers   HCL,


What is the use of Ldap utility in solaris

1 Answers  


what r diff types of back ups?

4 Answers   Locuz,


how to share a directory with nfs server and how client mount the nfs share

3 Answers   IBM, Wipro,


Custom jumpstart works on which protocol? or What basis custom jumpstart works on?

4 Answers   IBM,


How to identify multiple paths for a disk.?

2 Answers  


how to repair /etc/system file with out using jump start and without using os software cd

4 Answers   IBM,


How can you check that a particular volume is mirrored?

5 Answers   CGI,


How to see the disk label and what information does that contains..?

2 Answers  


Unable to telnet any of my servers in the network..? wht may be the reason

3 Answers   HP,


what is the use of /etc/path-to-inst file..?

4 Answers  


Command to check all the process statistics..?

2 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)