You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (createFolders) makeDir.all(target /RelPath.up, perms)
and directories require executable permission to be accessible. Thus writing to a non-executable file with createFolders = true like in the example doesn't work.
This affects write.outputStream, write.append, write.append.outputStream, write.over, write.over.outputStream as well.
perms should be omitted from os.makeDir.all.
The text was updated successfully, but these errors were encountered:
would result in
because
perms
is also applied toos.makeDir.all
os-lib/os/src/ReadWriteOps.scala
Line 79 in 60d334d
and directories require executable permission to be accessible. Thus writing to a non-executable file with
createFolders = true
like in the example doesn't work.This affects
write.outputStream
,write.append
,write.append.outputStream
,write.over
,write.over.outputStream
as well.perms
should be omitted fromos.makeDir.all
.The text was updated successfully, but these errors were encountered: