Jack Bates
2012-May-17 11:54 UTC
[Samba] Edit security/permissions of Windows share from Linux client?
Is there a way to edit the security/permissions of a Windows share from a Linux client? The Windows share belongs to a Windows Server 2008 server. From a Windows client I can go to the "Security" tab of the "Properties" dialog and edit the permissions. I want to do effectively the same thing, but from my Linux client Is there any way?
Jeff Layton
2012-May-19 12:39 UTC
[Samba] Edit security/permissions of Windows share from Linux client?
On Thu, 17 May 2012 04:54:14 -0700 Jack Bates <v1twoz at nottheoilrig.com> wrote:> Is there a way to edit the security/permissions of a Windows share from > a Linux client? > > The Windows share belongs to a Windows Server 2008 server. From a > Windows client I can go to the "Security" tab of the "Properties" dialog > and edit the permissions. I want to do effectively the same thing, but > from my Linux client > > Is there any way?Recent cifs-utils versions contain the getcifsacl and setcifsacl programs that allow you to query and set ACLs directly. That does require a relatively recent kernel (2.6.37 or so). -- Jeff Layton <jlayton at samba.org>