[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-685864-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-685864-en":130,"doc-similar-685864":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","access-control-lists-in-linux-windows-acls","Access Control Lists in Linux & Windows - ACLs","","Lecture notes for CSE 506 Section 2 (PhD), focusing on access control in Linux and Windows environments. It covers DAC and MAC concepts, the role of ACLs as fine-grained discretionary rights tied to files and directories, and contrasts ACLs with role-based access (RBAC). The notes further discuss network access control via Netfilter, Linux background permission models using 9-bit permissions, and additional mechanisms like setuid, setgid, sticky bit, and umask. Limitations motivate extended ACLs, with getfacl/setfacl/chacl utilities and Access Control Entries (ACE) examples.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/access-control-lists-in-linux-windows-acls/685864/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/access-control-lists-in-linux-windows-acls/685864.png","ImageObject",300,407,{"name":42,"@type":43},"sagouaw","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the difference between DAC and MAC in Linux/Windows access control?","Question",{"text":63,"@type":64},"DAC is determined by the object owner who specifies who can access files or directories, while MAC is determined by the system using security labels that match subject clearance with object classification.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do ACLs provide more control than basic permission models?",{"text":68,"@type":64},"ACLs offer fine-grained discretionary access rights tied to specific files and directories, and extended ACLs allow additional named users and groups beyond the basic owner/group/others classes, including a mask entry.",{"name":70,"@type":61,"acceptedAnswer":71},"Which Linux tools are used to inspect and modify ACLs?",{"text":72,"@type":64},"getfacl checks the current ACL state on a file or directory, setfacl modifies or adds ACL entries for users and groups, and chacl changes the ACL of a file or directory.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},685864,1794020361,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":33,"preview_urls":145},3985747862151,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Fall 2014:: CSE 506:: Section 2 (PhD)  \nAccess Control Lists in Linux & Windows  \nVasudevan Nagendra & Yaohui Chen  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nCategorization: Access Control Mechanisms  \n• Discretionary Access Control (DAC): Owner of object specifies who can access object (files/directories)  \n- Control access on discretion of owner  \n- Access privileges decided when file created  \n- Ex: Windows, Linux, Mac, Unix  \n• Mandatory Access Control (MAC): system specifies which subjects(users/processes) can access which objects.  \n- Based on security labels mechanism  \n- Subjects are given clearance  \n- Objects are given security classification  \n- Matches clearance of subject with classification of object.  \n- Examples: secret, top secret, confidential  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nAccess Control List (ACLs)  \n• Filesystem Access Control mechanisms:  \n- ACLs  \n- Role Based Access (RBAC) -Can be Implemented as either DAC/MAC  \n• ACL: Fine-grained discretionary access rights given to files & directories.  \n- Specifies, which users/processes are granted access to objects.  \n- Access rights tied with objects.  \n• RBACs: System access on basis of authorization  \n- specific roles are permitted to perform certain operations  \n- Access rights not tied to objects  \n- Example: Roles created for various job functions.  \n- Consider multiuser systems with users of different roles are accessing.  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nACLs Continued..  \n• Network Access Control Mechanism:  \n– Netfilter  \n• Netfilter (NACL): network traffic filtering framework for Linux  \n- Set of hooks in kernel to handle packets.  \n- Intercept calls, events or messages  \n- Between s/w components of OS or Applications.  \n- Registers callbacks with n/w stack, called for every packet.  \n- Access Controls / Filtering rules applied here.  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nBackground: 9 bit permission Model  \n• Every file system is associated with:  \n- 3 set of user groups(classes),  \n- 3 set of permissions  \n- 9 bits are used to determine the characteristics  \n- Also called as base/minimal ACLs.  \n• Example: ls-la file.txt  \n-rwxrw-r-- 1 root cse506 2 Nov 19 05:55 file.txt  \n- Owner class with read, write & execution access  \n- Group class with read & write access  \n- Others class with read only access.  \n- For changing the file permissions we use the chmod.  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nBackground: Other Access Control Options  \n• Setuid: Allows subjects to run executable with permission of file owner.  \n- When subject doesn’t have adequate permission  \n- Examples: passwd/gpasswd/sudo/chsh/mount/ping/su/umount  \n• Setgid: Equivalent (as setuid) property for groups.  \n- No matter which user starts it, program runs under group ID  \n- All files & directories created in the setgid directory, will belong to the group owning the setgid directory.  \n• Sticky bit: Assigned to directories, prevents users from deleting eachother’s files.  \n- Example: /tmp where any user can store files, but only owner of file has rights to modify or delete the file.  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nUMASK  \n• Consider default behavior of file and directory creation  \n– 666 & 777 respectively.  \n– To change this default behavior – use umask  \n• Defines the permissions to be masked while object is created.  \n• Examples: umask 002  \n– File creation: (666-002= 664) = rw-rw-r--  \n– Directory creation: (777-002= 775) = rwx rwx r-x  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nDrawbacks & Limitations of 9 bit permission model  \nThe price of playing tricks with this permission model:  \n• Setuid-root-Allows even ordinary users to perform administrative tasks.  \n– Buggy application easily compromises system  \n– Increase complexity of system configurations.  \n• Limitations of the base/9 bit permission model:  \n– No fine grained control access to non-class users  \nFall 2014:: CSE 506:: Section 2 (PhD)  \nExtended ACLs for finer-grain control  \n• Extended ","cbCaipjBt3kiEZxO","https://ap.wps.com/l/cbCaipjBt3kiEZxO","pdf",1069426,33,"English","# Categorization: Access Control Mechanisms\n## Discretionary Access Control (DAC)\n## Mandatory Access Control (MAC)\n# Access Control List (ACLs)\n## Filesystem Access Control mechanisms\n## ACL and RBAC comparison\n## Network Access Control mechanism: Netfilter\n# Background: 9 bit permission Model\n## Base/minimal ACLs\n## chmod and permission example\n# Background: Other Access Control Options\n## Setuid\n## Setgid\n## Sticky bit\n# UMASK\n# Drawbacks & Limitations of 9 bit permission model\n# Extended ACLs for finer-grain control\n## getfacl, setfacl, chacl utilities\n# Access Control Entries (ACE)\n## Linux ACL Entry text form","[{\"question\":\"What is the difference between DAC and MAC in Linux/Windows access control?\",\"answer\":\"DAC is determined by the object owner who specifies who can access files or directories, while MAC is determined by the system using security labels that match subject clearance with object classification.\"},{\"question\":\"How do ACLs provide more control than basic permission models?\",\"answer\":\"ACLs offer fine-grained discretionary access rights tied to specific files and directories, and extended ACLs allow additional named users and groups beyond the basic owner/group/others classes, including a mask entry.\"},{\"question\":\"Which Linux tools are used to inspect and modify ACLs?\",\"answer\":\"getfacl checks the current ACL state on a file or directory, setfacl modifies or adds ACL entries for users and groups, and chacl changes the ACL of a file or directory.\"}]","Access Control Lists in Linux & Windows - ACLs | PDF",83,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ba609436c63b63fa4bcdf704ec15935b.webp",983,737,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9d9fff25baad7c1f6045a909e7ccdd51.webp",982,736,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/836a505c0127d5a687f2803e370b1e3c.webp",981,735,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c144d9180a3dac73859090df7ff3c1c7.webp",980,734,{"list":163,"token":11},[164,170,176,182,188,194,200,206,212,219],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":26,"category_name":29,"create_tm":169},685867,"Access Control Lists in Linux - Brief summary of POSIX ACLs","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000244646/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=c57TV76MD%2FMpe6dx0e9drhPFq6I%3D","access-control-lists-in-linux-brief-summary-of-posix-acls",1794020367,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":97,"category_name":29,"create_tm":175},685868,"Chapter 26 - Network Device Access Control and Infrastructure Security - Instructor Materials","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000244732/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=l86OMnsQ391jvGyI18NJ4gfqwgY%3D","chapter-26-network-device-access-control-and-infrastructure-security-instructor-materials",1794020370,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":55,"category_name":29,"create_tm":181},685862,"Access Control Lists - ACL - Introduction and Packet Filtering","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000244353/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=JEv82iW7sMsTa9%2BxdyTaxPEkFvg%3D","access-control-lists-acl-introduction-and-packet-filtering",1794020355,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":26,"category_name":29,"create_tm":187},733280,"Data Warehouse Service User Guide - Issue 1 - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031787591/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=oe3qTFoYEJE%2B7fM0xK9qXELCAYM%3D","data-warehouse-service-user-guide-issue-1-guide",1795384523,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":97,"category_name":29,"create_tm":193},689109,"Notes on Data Structures and Programming Techniques - CPSC 223 Spring 2018","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001510733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=mW86HmmoT3HFVVvt180K%2FRe6tbg%3D","notes-on-data-structures-and-programming-techniques-cpsc-223-spring-2018",1794096425,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":102,"category_name":29,"create_tm":199},721058,"FortiNAC 500C - FortiNAC Network Access Control Solution Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024085767/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=gwHf%2FZMaLISaDYODiCS%2F7egw%2F7Q%3D","fortinac-500c-fortinac-network-access-control-solution-overview",1795041532,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":33,"category_name":29,"create_tm":205},685863,"Chapter 3 - Using Access Control Lists (ACLs)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000244420/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=O8V9uigoXGMwTAG6k90XOl%2FbXHs%3D","chapter-3-using-access-control-lists-acls",1794020359,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":33,"category_name":29,"create_tm":211},702722,"VS23S010D-L Guide - 1 Megabit SPI SRAM - with Serial and Parallel Interfaces and Integrated Video Display Controller","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012804288/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=nvV%2FnRdCEQ1BhSKH%2B40KoiD8Pk4%3D","vs23s010d-l-guide-1-megabit-spi-sram-with-serial-and-parallel-interfaces-and-integrated-video-display-controller",1794546556,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":29,"create_tm":218},422209,"AMD - SUSE Linux Support for Next-Gen Processors","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922594605/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=dKrGy6ZB2P9OF0ZMRPVzAcBpNjQ%3D","amd-suse-linux-support-for-next-gen-processors",14,1790626513,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":110,"category_name":29,"create_tm":224},687687,"Atelier B 4.7.1 Community Edition - Installation Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001263458/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=qpkQaorBjBg%2BMoCfMdQGlwwu8MA%3D","atelier-b-471-community-edition-installation-guide",1794084567]