A DESCRIPTION OF THE PROBLEM :
SecureDirectoryStream can perform a variety of operations relative to its directory such as deleting entries, creating new files, and getting attributes. However, there are some useful filesystem operations missing. By comparing the methods on Files and SecureDirectoryStream, methods to do at least the following at missing from the latter:
- create a directory (mkdirat)
- create a hardlink (linkat)
- create a symlink (symlinkat)
- read a symlink target (readlinkat)
SecureDirectoryStream can perform a variety of operations relative to its directory such as deleting entries, creating new files, and getting attributes. However, there are some useful filesystem operations missing. By comparing the methods on Files and SecureDirectoryStream, methods to do at least the following at missing from the latter:
- create a directory (mkdirat)
- create a hardlink (linkat)
- create a symlink (symlinkat)
- read a symlink target (readlinkat)