On point max file permission is 666 for files and not 777 so when file permission set with umask u+rw,g+rw,o-r then it becomes 660;so umask become 006(666-660) which can be seen in output of umask command
Question :- If I set umask as 555 and create a file. then my file’s permission should be 111 (-x --x --x). But why my Linux is assigning the permission of 222 (-w w -w-) to my file ?? please answer 🙏. because even chatgpt are not giving the right answer. please sir 🙏.
For folders, you need to subtract umask from 777 and for files, subtract from 666. Thus, for folders, umask of 222 means 777-222=555, but for files it is 444.
Adding this affects files for whole user directory, how to add umask for specific files in a specific directiory Eg - SFTP transferred files should have 777 or something
Thank you for such a easy technique and im learning from your Videos 💯❤️
Happy to help!
Very smooth and deeply describe permission thanks
Glad it was helpful!
Excellent and lucid explanation 😊
Glad to hear that!
Excellent explanation...
Glad you liked it
your way to explain is amazing very helpful
Thank you!
Really informative video..
Glad you liked it
On point max file permission is 666 for files and not 777 so when file permission set with umask u+rw,g+rw,o-r then it becomes 660;so umask become 006(666-660) which can be seen in output of umask command
we do chmod 777 to apply all the permissions, ,max file permission is 777
Nice one video 👍
Thanks for the visit
I want some advice sir ,
I purchase sql course but cant decide which online platform is best so please suggest
sorry I never buy any so can't help
I have learned from an institue in Mumbai back in 2017 hehe
Bhai is ur playlist sufficient for Linux for aws/devops plz reply
I covered almost all basic and important concepts which will be useful in any job :)
Thanks a lot sir
Most welcome
Thanks sir❤
Most welcome!
thank you sir
All the best
Is that permission apply for logs also?
I believe it will be..depending by which user and process those logs are generated
Question :- If I set umask as 555 and create a file. then my file’s permission should be 111 (-x --x --x). But why my Linux is assigning the permission of 222 (-w w -w-) to my file ??
please answer 🙏.
because even chatgpt are not giving the right answer.
please sir 🙏.
bro, 7-5 =2 which is write. thus 777-555=222 (-w--w--w-)
For folders, you need to subtract umask from 777 and for files, subtract from 666. Thus, for folders, umask of 222 means 777-222=555, but for files it is 444.
Adding this affects files for whole user directory, how to add umask for specific files in a specific directiory
Eg - SFTP transferred files should have 777 or something
Bhai mmonit pe ek video banado. How to install and send monit alerts via emails.. Hope you will make it..
Mohit kumar from mullana University
Please work on the Networking commands sooner or later
I have uploaded few videos
Netstat, Ping command
I’ll try to bring some more
Sirji aap kis jagah se belong karte ho?
Aapka age kitna hai?
Aur aapka educational qualification kya hai? Pls reply
Mumbai
29
BE in Electronic Comm :)
Maybe I will make a video on introducing mysefl and my journey
.bashrc file exists nhi h
.bash_profile
vmware & windows