Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 3
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPrevious
Next Section
3. The Linux permissions model
  


The elusive first digit page 23 of 23


And to conclude this section, we finally take a look at the elusive first digit of a numeric mode. As you can see, this first digit is used for setting the sticky, suid and sgid bits:

suidsgidstickymode digit
ononon7
ononoff6
onoffon5
onoffoff4
offonon3
offonoff2
offoffon1
offoffoff0

Here's an example of how to use a 4-digit numeric mode to set permissions for a directory that will be used by a workgroup:


# chmod 1775 /home/groupfiles

As homework, figure out what the meaning of the 1755 numeric permissions setting. :)


Next Section
Main menuSection menuFeedbackPrevious
PrivacyLegalContact