Sorry to all Technical person for mistake of Question.
Now i am post currect question
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 555
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 write the proper answer. Thanks
in Advance

Answer Posted / hari

not problame to other users.
umask is user level permission
u give 666
after create file that permission is 666
u give 333 permission that umask calculate bello u see
666-333=333

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cat command and more command?

601


what is the advaantage of each user having its own copy of the shell?

2039


What is the use of egrep command in unix?

629


What is the use of the command 'ls -x chapter[1-5]' ?

663


How do I use grep to search for a file?

584






What is the unix command to confirm a remote host is alive or not?

588


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

764


What is pipe command in unix?

677


What are reported commands?

570


How does the system know where one command ends and another begins?

1582


What are the dos commands?

653


Can you explain a little bit about command substitution?

612


Explain command to show the space allocation of files?

633


What do chmod command do?

606


What is s and g in sed command?

561