Filesystem with posix ACL support

Hi,

I am trying to create build with Samba4 AD including domain provision. This requires a filesystem that supports posix ACL. Is this possible? I get this exception:

 ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - ProvisioningError: Your filesystem or build does not support posix ACLs, which s3fs requires.  Try the mounting the filesystem with the 'acl' option.
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 538, in run
    backend_store=backend_store)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2316, in provision
    backend_store=backend_store)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1921, in provision_fill
    names.domaindn, lp, use_ntvfs)
  File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1649, in setsysvolacl
    raise ProvisioningError("Your filesystem or build does not support posix ACLs, which s3fs requires.  "
Exited with code 255

Which executor are you running on?

Hi,

version: 2.1
    
orbs:
  python: circleci/python@0.2.1

jobs:
  build:
    executor:
      name: "python/default"
      tag: "3.7"

I also tried different docker images, they all don’t support posix ACLs. I tried an official Python image python:slim and python:buster images as well, but no luck. It seem to me that CircleCi mounts the filesystem from whatever image I use without posix ACLs support.

This is likely not possible with the docker executor. You can try this with the machine executor instead. https://circleci.com/docs/2.0/executor-types/#using-machine

Cool, will try. Thanks

Works perfect. Thanks a bunch

1 Like

My pleasure! Glad to hear you got this to work.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.