@rima-wilson ,
Each number you mention correlates to 4 binary bits (0000 - 1111) technically, even so the highest order bit is rarely used (0000).
As far as permissions go, the single digits are normally combined to give the proper permissions for a file: so instead of just seeing a single file listed with a 7, you'll see something more along the lines of 3 digits like 755 or 555 etc.
if you access a terminal and type ld -l
ronnie@SiteA-01 ~ $ ls -l
total 32
drwxr-xr-x 2 ronnie ronnie 4096 Jun 3 14:57 Desktop
drwxr-xr-x 2 ronnie ronnie 4096 Jun 8 20:12 Documents
drwxr-xr-x 2 ronnie ronnie 4096 Jun 8 21:29 Downloads
drwxr-xr-x 2 ronnie ronnie 4096 Jun 2 17:17 Music
drwxr-xr-x 2 ronnie ronnie 4096 Jun 2 17:17 Pictures
drwxr-xr-x 2 ronnie ronnie 4096 Jun 2 17:17 Public
drwxr-xr-x 2 ronnie ronnie 4096 Jun 2 17:17 Templates
drwxr-xr-x 2 ronnie ronnie 4096 Jun 2 17:17 Videos
ronnie@SiteA-01 ~ $
The string you see at the beginning: drwxr-xr-x is a symbolic notation of the octal notation you're referring.
the d would be for the directory the 1st set of 'rwx' = 7. This is what the OWNER can do, the 2nd tells us the permissions of the group member r-x = 5 and 3rd tells us what everyone else can do : r-x = 5 = overall giving an octal code of 755 for the directory.
So yes it makes sense to find that correlation. I'm not sure if you'll find any real practical matter, even if you're changing permissions, you're changing the octal and not necessarily needing to change it in binary.
Cordially,
Ronnie Wong
Host, ITProTV
Cordially,
Ronnie Wong
Edutainer Manager, ITProTV
*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV.