Welcome to My Technology Blog
Hi, I’m Sandeep Kumar, Founder of Tanti Technologies and a Data Scientist & Technology Leader with 10+ years of experience in Data, Cloud, AI, DevOps, AIX, and Linux.
Through this blog, I share practical insights, technical guides, real-world solutions, and industry knowledge covering Data Engineering, Cloud, DevOps, AI/ML, GenAI, and Agentic AI.
My goal is to simplify complex technologies and help professionals learn, build, automate, and innovate.
Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.
chmod is the command to change permissions syntax: chmod ex: chmod u=rwx,g=rx,o=rx ds (here we are giving full permissions to owner,read&execute for group & others
if we want to change permissions for a specific task
ex: here i want to give write to group
chmod g+w ds
2)absolute mode: In Absolute mode we have to provide permisions in numeric signs
r = 4 w = 2 x = 1
syntax : chmod 755 ds here we are giving full permissions to owner &read execute to group & others
if we want remove total permissions for others
chmod 750 /home/mahesh ADVANCED FILE PERMISSIONS We have three advanced file permissions. 1) suid 2) sgid 3) stikybit
suid =4 , sgid =2 , stickybit=1
1) suid: suid will be apply only on commands suid is used to provide root previlages on a particular administrative command for a normal user
ex: ls -l /bin/ping In this example by default suid was applied for ping command thats why anybody can use ping command if we remove ping command nobody can use check : chmod 755 /bin/ping now try to ping from any user account(it wont ping) provide suid then ping once again (providing suid chmod 4755 /bin/ping )
2) SGID : It is an advanced file permission for group inheritance. parent dierctory group is inherited to all files and directories.
SYNTAX : chmod g+s ex : chmod g+s /redhat
3) STICKYBIT : stickybit is an advanced file permission through which owner and root can delete his file and no other users to allow to delete files
SYNTAX : chmod o+t ex : chmod o+t /redhat
Hard link
soft link
1.can create only with in a partition
1.can create accross the partitions.
2.Inode number will be same.
2.Inodes numbers are different.
3.original & link file are in same size.
3.link file size is less than org.file.
4.if original file removed then also we can access link file.
4.link file can't be accessed if original file is removed.
TO CONFIGURE HARDLINK
SYNTAX :ln ex : ln /dev/sda /dev/sdb
TO CONFIGURE SOFTLINK
SYNTAX : ln -s ex : ln -s /usr/king /root/redhat
ACL (Access Control Lists)
To configure different set of file permissions for different users on a single resource (files/folder) Acls are implemented. Acls can be applied on users and groups.
No comments:
Post a Comment