[Samba] Edit security/permissions of Windows share from Linux client?

Jeff Layton jlayton at samba.org
Sat May 19 06:39:51 MDT 2012


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>


More information about the samba mailing list