I'm trying to set permissions in my appspec.yml file, but I keep getting an error about duplicate permission settings when I run a deployment
Duplicate permission setting instructions for /data/html/httpdocs/artisan
This is currently (with except in list format) how the permission object is configured in my appspec.yml, per this threads recommendation . I actually have multiple files I want different permissions on, but I can't seem to get it to work w/ just one file? what is the correct way?
permissions:
- object: /data/html/httpdocs/
pattern: "**"
except: [/data/html/httpdocs/artisan]
owner: ubuntu
group: www-data
mode: 644
type:
- file
- object: /data/html/httpdocs/artisan
owner: ubuntu
group: www-data
mode: 755
type:
- file