bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61708: 28.2; file-modes-symbolic-to-number inconsistency


From: Thierry Volpiatto
Subject: bug#61708: 28.2; file-modes-symbolic-to-number inconsistency
Date: Wed, 22 Feb 2023 17:03:56 +0000

Andreas Schwab <schwab@suse.de> writes:

> On Feb 22 2023, Thierry Volpiatto wrote:
>
>> So how do you interpret this: "drwxr-x---" (from file-attributes)?
>
> This is not a symbolic mode.

(file-modes-number-to-symbolic #o750)
=>"-rwxr-x---"

I will reformulate my question:

How one convert the output of (nth 8 (file-attributes "/home/user")) to
numeric mode?

-- 
Thierry

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]