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

Explain ‘library functions’ with respect to unix commands?

828


How do I open a port?

779


Why is it called grep?

758


What does the metacharacter mean?

811


How do I search for a file in unix command?

754


What is a bash command?

840


How to use grep command to list find the records of a file containing 10 different strings?

845


Which unix command to make a new directory?

811


What is grep and how do you use it?

794


What is difference between grep and find command in unix?

844


How do I find previous commands in unix?

823


What is $0 bash?

897


What command will change your prompt to myprompt?

923


How do I run a bash script?

819


Can you enlist some commonly used network commands?

808