Boost logo

Boost Users :

Subject: [Boost-users] Boost.Filesystem perms on Windows
From: Lars (laasunde_at_[hidden])
Date: 2018-12-05 19:29:19


Hello,

The documentation<https://www.boost.org/doc/libs/1_68_0/libs/filesystem/doc/reference.html#Enum-perms> (boost version 1.68) for boost::filesystem::perms enumerator says;

"Windows: All permissions except write are currently ignored. There is only a single write permission; setting write permission for owner, group, or others sets write permission for all, and removing write permission for owner, group, or others removes write permission for all."

Does "All permissions except write are currently ignored" restriction apply to both getting permission from a file and setting permission to a file? In other words, does it apply to both boost::filesystem::status(..) and boost::filesystem::permissions(..) methods?

Why does the fileysystem have this restriction? Is this some limitation in the design or a bug or missing feature?

Kind regards, Lars



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net