2.6.9 , problem with acl patch

david macosxforme at gmail.com
Wed Dec 6 23:30:24 GMT 2006


On Dec 5, 2006, at 11:09 AM, Wayne Davison wrote:

> On Tue, Dec 05, 2006 at 01:16:34PM +0400, Dmitry Melekhov wrote:
>> Sorry, but this patch can't be applied to 2.6.9 patched with acl  
>> patch:
>
> The patch applies fine without even a wimper.  Make sure that your
> version doesn't have its white-space mangled, or just hand-edit the
> changes into the flist.c file (since they're so trivial).
>
> ..wayne..
> -- 
> To unsubscribe or change options: https://lists.samba.org/mailman/ 
> listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart- 
> questions.html

Sadly, this still does not compile.

I was able to manually apply your patch today and attempt to compile  
2.6.9 after applying the supplied acls and xattrs patches and making  
your changes.

The step of ./prepare-source went through fine, but when attempting  
to run "make" the output finished with the following the text at the  
end of this message. Where -for example- is ACL_USER declared ? A  
search for it did not turn up anything, I'm sorry that I don't know  
what I'm missing (again, I readily accept this could be luser error  
on my part).

In smb_acles.h I see SMB_ACL_USER referenced to ACL_USER, but not  
ACL_USER being defined prior to that. Do I need to manually edit this  
file ?

Thanks.

Errors on make follow:


acls.c: In function 'save_idas':
acls.c:243: error: 'ACL_USER' undeclared (first use in this function)
acls.c:243: error: (Each undeclared identifier is reported only once
acls.c:243: error: for each function it appears in.)
acls.c: In function 'unpack_smb_acl':
acls.c:284: error: 'ACL_READ' undeclared (first use in this function)
acls.c:285: error: 'ACL_WRITE' undeclared (first use in this function)
acls.c:289: error: 'ACL_USER_OBJ' undeclared (first use in this  
function)
acls.c:295: error: 'ACL_USER' undeclared (first use in this function)
acls.c:297: error: 'ACL_GROUP_OBJ' undeclared (first use in this  
function)
acls.c:303: error: 'ACL_GROUP' undeclared (first use in this function)
acls.c:305: error: 'ACL_MASK' undeclared (first use in this function)
acls.c:311: error: 'ACL_OTHER' undeclared (first use in this function)
acls.c: In function 'store_access_in_entry':
acls.c:381: error: 'ACL_READ' undeclared (first use in this function)
acls.c:383: error: 'ACL_WRITE' undeclared (first use in this function)
acls.c: In function 'pack_smb_acl':
acls.c:412: error: 'ACL_USER_OBJ' undeclared (first use in this  
function)
acls.c:417: error: 'ACL_USER' undeclared (first use in this function)
acls.c:423: error: 'ACL_GROUP_OBJ' undeclared (first use in this  
function)
acls.c:428: error: 'ACL_GROUP' undeclared (first use in this function)
acls.c:441: error: 'ACL_MASK' undeclared (first use in this function)
acls.c:447: error: 'ACL_OTHER' undeclared (first use in this function)
acls.c: In function 'receive_rsync_acl':
acls.c:667: error: 'ACL_USER' undeclared (first use in this function)
acls.c:677: error: 'ACL_GROUP' undeclared (first use in this function)
acls.c: In function 'change_sacl_perms':
acls.c:866: error: 'ACL_USER_OBJ' undeclared (first use in this  
function)
acls.c:869: error: 'ACL_GROUP_OBJ' undeclared (first use in this  
function)
acls.c:875: error: 'ACL_MASK' undeclared (first use in this function)
acls.c:883: error: 'ACL_OTHER' undeclared (first use in this function)
acls.c:865: warning: enumeration value 'ACL_UNDEFINED_TAG' not  
handled in switch
acls.c:865: warning: enumeration value 'ACL_EXTENDED_ALLOW' not  
handled in switch
acls.c:865: warning: enumeration value 'ACL_EXTENDED_DENY' not  
handled in switch
acls.c: In function 'next_ace_id':
acls.c:1015: error: 'ACL_USER' undeclared (first use in this function)
acls.c: In function 'next_acl_uid':
acls.c:1050: error: 'ACL_USER' undeclared (first use in this function)
acls.c: In function 'next_acl_gid':
acls.c:1055: error: 'ACL_GROUP' undeclared (first use in this function)
make: *** [acls.o] Error 1
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list