Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27323] TiAPI: Add more support for changing file attributes/permissions to Filesystem API

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.2.0
Fix Version/sn/a
ComponentsAndroid, iOS, TiAPI
LabelsengSchedule
ReporterChristopher Williams
AssigneeAbir Mukherjee
Created2019-08-08T17:42:23.000+0000
Updated2020-11-23T18:02:43.000+0000

Description

We have a lot of basic file operations on Files in our API including reading some of the attributes of a File, but no real operations to change the attributes of a file: - atime (last access time) - mtime (last modified time) - ctime (creation time) - owner - permissions iOS has the ability to set many of these (ctime, mtime, permissions, owner/group): https://developer.apple.com/documentation/foundation/nsfilemanager/1413667-setattributes?language=objc Android has the ability to set mtime in the old java.io.File API. In the newer java.nio.file APIs, we can set permissions, owner, mtime directly and a more generic API for setting more (atime, ctime, mtime) here: https://developer.android.com/reference/java/nio/file/attribute/BasicFileAttributeView.html

Comments

No comments

JSON Source