ddIsObjWritable
ddIsObjWritable(
b_objId
)
=> t / nil
Description
Returns t if the object specified by b_objId can be modified by the current process.
If the library containing the object has a temporary directory, this functions looks for the object in the temporary directory first; if it is not found, it looks for it in the master directory. However, if the object itself is a library, this function returns information about the library, not its temporary directory. ddIsObjWritable
Arguments
Value Returned
Examples
chmod 555 libFolder
namei -m libFolder/data.dm
=> f: libFolder/data.dm
dr-xr-xr-x libFolder
-rwxr-xr-x data.dm
dbIsBagWritable(ddGetObj("libFolder"))
=> t
ddIsObjWritable(ddGetObj("libFolder"))
=> nil
Related Topics
Return to top