[#BloombergLP-bdls-FilePermissions-isValidBaseBits]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilePermissions.adoc[FilePermissions]::isValidBaseBits
:relfileprefix: ../../../
:mrdocs:

Return `true` if `permissions` uses only the base nine rwx bits&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filepermissions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isValidBaseBits(int permissions);
----

== Description

Return `true` if the specified `permissions` bit mask consists only of the &quot;base&quot; nine rwx bits (owner&sol;group&sol;others read&sol;write&sol;execute, i&period;e&period;, bits in `k&lowbar;ALL`), and `false` otherwise&period; Note that this predicate is stricter than `isValid`&colon; `k&lowbar;SET&lowbar;UID`, `k&lowbar;SET&lowbar;GID`, and `k&lowbar;STICKY&lowbar;BIT` are rejected&period;

== Return Value

`true` if `permissions` uses only the base nine rwx bits, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *permissions*
| permission bit mask to validate
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
