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

How do I search a whole word in vim?

684


How do I run a bash script?

575


What does grep v grep do?

546


What is awk used for?

613


Write a command that will display files in the current directory, in a colored, long format.

673






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

588


How does pipe () work?

587


How can you see the command line history?

580


What is used to type command?

536


What are the dos commands?

641


Why is grep called grep?

772


What is rmdir command?

542


What is the use of sed command in unix?

587


What is the difference between cat and more command?

620


What is grep and how do you use it?

569