The attached patch fixes #6569821 and was checked on Nevada 72. 

Checking if the filesystem does not have ACL support is done in the 
gnome-vfs/modules/file-method-acl.c in the line:

acl_type = pathconf (path, _PC_ACL_ENABLED);

For pcfs this returns 0, which is neither _ACL_ACLIENT_ENABLED or 
_ACL_ACE_ENABLE

this causes function from line 1579 in "fm-properties-window.c" (nautilus)

nautilus_file_get_acl (file);

to return NULL, which should be checked in order to work properly. So the 
change which solves the problem and it is in the attached patch is described 
below (add lines):

=>[2] update_acl_page(window = 0x84643f0), line 1579 in "fm-properties-window.c"
function
so:
1570   static void
 1571   update_acl_page (FMPropertiesWindow *window)
 1572   {
 1573           GnomeVFSACL       *acl;
 1574           GnomeVFSACLScheme  acl_scheme;
 1575           NautilusFile      *file;
 1576   
 1577           file = get_target_file (window);
 1578           acl = nautilus_file_get_acl (file);
 
//add           if(acl == NULL)
//add                   return;


-- 
best
Michal Pryc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nautilus-10-acl.diff
Type: text/x-patch
Size: 93154 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20070921/37a58b12/attachment.bin>

Reply via email to