mahusa7
8 years agoVisitor
Changing permissions of file in temp
I am copying a file to temp from package, and want to write to it. However, the permissions of the file turn out read only. Is there a way to change the permissions?
print fileSystem.Stat("tmp:/Untitled.m3u8") gives:
<Component: roAssociativeArray> =
{
ctime: <Component: roDateTime>
hidden: false
mtime: <Component: roDateTime>
permissions: "r"
size: 858
type: "file"
}
Any suggestions or workarounds would be appreciated.
print fileSystem.Stat("tmp:/Untitled.m3u8") gives:
<Component: roAssociativeArray> =
{
ctime: <Component: roDateTime>
hidden: false
mtime: <Component: roDateTime>
permissions: "r"
size: 858
type: "file"
}
Any suggestions or workarounds would be appreciated.