Why copied file permission is changed in destination. When i
give all permission i.e 777 to file and copy that to other
location in destination the permission is 755. But if give
permission 555 in destination that file permission is 755
and if give permission 444 to file after copy in destination
the file permission is 444. These all are happening in
normal user. How the umask value is calculate here really i
am not understand. Please every body and wite the proper
answer. Thanks in Advance
Answers were Sorted based on User's Feedback
Answer / gowri
for file with permission 777 and with default umask 022 it
gets (777-022=755) so the permission changes to 755.
bt if a file with permission 444 and default umask 022 (444-
022=422) here it makes no sense with 422 permission so it
doesnt change and permission remains the same 444.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ratikant
owner group other
rwx----------------rwx-------------------------rwx
421----------------421-------------------------421
when umask is 022---------->
as it is -----------(-write)--------------------(-write)
------------------------w-------------------------------w
so when permission is 444--->
r-- r-- r--
umask 022
--------------------------------------------------
result is 444
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the minimum hardware requirements for cluster configuration?
Were will be the configuration for metadevice
Explain about Vxrecover?
What are printer daemon
Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.
Pls explain the raids in solaris??
Were the vcs logs will be
What are configuration files and to configure it in VCS
How to add a root dg?
How to remove the root mirror
How will you view the packages?
How to bring the resource to online and offline