Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

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

b_objId

ID of the object.

Value Returned

t

b_objId can be modified by the current process.

nil

Object was not found or is not writable.

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

ddIsObjReadableEx


Return to top
 ⠀
X