[Gambas-user] Documentation CHMOD
T Lee Davidson
t.lee.davidson at gmail.com
Sat Oct 13 18:42:46 CEST 2018
In the example given on the documentation page (Chmod "~/Documents" To "rwxr-x---"), the special mode bits are omitted. As I
understand it, if you wanted to change only the Group and Other bits, you could use the permission string, "r-x---".
It appears that your example string, "..x.......", has one too many characters if the eXecute bit is positioned correctly.
On 10/13/18 7:36 AM, Hans Lehmann wrote:
> how is the following sentence "Moreover, any omitted or unknown character in that string is ignored. That way, you can change
> only specific parts of the file permissions you need to change." to be understood in the documentation? It's all about the word
> "omitted"? So what does a right string with omitted characters look like? For example, I use CHMOD sTempScriptPath To
> "..x.......", where the dot stands for an unknown character.
> With kind regards
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
More information about the User