*L iddlZejjdejj ejj ddZejj edZdZda dZ y)N PLOTLY_DIR~z.plotlyz.permission_testc tjjts tjtttd5}|jdddd tjty#t $r'tjj tsYtwxYw#1swYWxYw#t $rYywxYw#t $rYywxYw)Nwztesting TF) ospathexistsrmkdir Exceptionisdiropen TEST_FILEwriteremove)fs Y/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/_plotly_utils/files.py _permissionsr sww~~j) $ )S ! !Q GGK  !  IIi  ww}}Z01  ! !    si#CBCB7!C*C-B41C3B44C7C<C C CCC CCc.t tatS)N)_file_permissionsrrensure_writable_plotly_dirr s (N r) renvirongetrjoin expanduserrrrrrrrrrsf ZZ^^"'',,rww11#6 B  GGLL%7 8 (r