SMB and ACLs
SMB and ACLs
- Subject: SMB and ACLs
- From: Jeff Schindler <email@hidden>
- Date: Thu, 01 Sep 2016 17:44:56 -0400
Hi,
I am accessing a file from a Windows server over SMB. The file has an ACL applied to it on the Windows side such that it is effectively read-only. SMB seems to pick this up, as the associated app (TextEdit) says that the file is locked, but I'm trying to figure out how I can determine the read-only state of that file on the Mac side myself, either from code or the command line. Based on what I see, it does not have the com.apple.system.Security extended attribute applied to it (I *think* you should be able to see that via "ls -ahel@"), and the normal posix permissions don't reflect its read-only state, so I'm trying to figure out how TextEdit is picking that up, and how I might do the same from code.
Thanks!
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden