archive mirror
 help / color / mirror / Atom feed
From: Stef Bon <>
To: linux-cifs <>
Subject: Question about parsing acl to get linux attributes.
Date: Sat, 31 Jul 2021 18:02:21 +0200	[thread overview]
Message-ID: <> (raw)


I'm working on a FUSE filesystem to browse and access SMB networks.
I'm using libsmb2 for that. It's not online yet, but my software is here:

Now I found out that smb2/3 do not support posix like file attributes,
but do (almost?) everything with acl's.
Now I see the function parse_dacl in fs/cifs/cifsacl.c, which
determines the permissions from the acl. I see also that when there
are no acl's, the default is 0777. I made the same choice in my
I've got some questions:

a. what does the sid_unix_NFS_mode stand for? Is it part of the "unix
extensions module for Windows"?

b. can you assume some order in the acl's, so you participate on that?
I want to know there are optimizations possible.

Thanks in advance,

Stef Bon

             reply	other threads:[~2021-07-31 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31 16:02 Stef Bon [this message]
2021-07-31 21:57 ` Question about parsing acl to get linux attributes ronnie sahlberg
2021-08-01  4:12   ` Stef Bon
2021-08-01  6:02     ` ronnie sahlberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).