Access permissions for the mkdir function. : mkdir « File « Perl






Access permissions for the mkdir function.

    
Value       Permission 
4000        Set user ID on execution 
2000        Set group ID on execution 
1000        Sticky bit (see the UNIX chmod manual page) 
0400        Read permission for file owner 
0200        Write permission for file owner 
0100        Execute permission for file owner 
0040        Read permission for owner's group 
0020        Write permission for owner's group 
0010        Execute permission for owner's group 
0004        Read permission for world 
0002        Write permission for world 
0001        Execute permission for world 

   
    
    
    
  








Related examples in the same category

1.The mkdir function creates a new, empty directory with the specified permissions (mode).
2.To create a directory, use the mkdir command:
3.Creating Directory
4.Make a folder (directory)
5.Creating Directory with mkdir