mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-07-24 19:38:52 +02:00
Merge pull request #143 from hatifnatt/dev
Add ability to specify mode for files and symlinks in user_files
This commit is contained in:
@@ -125,6 +125,11 @@ users:
|
||||
# should be a salt fileserver path either with or without 'salt://'
|
||||
# if not present, it defaults to 'salt://users/files/user/<username>
|
||||
source: users/files/default
|
||||
# You can specify octal mode for files and symlinks that will be copied. Since version 2016.11.0
|
||||
# it's possible to use 'keep' for file_mode, to preserve file original mode, thus you can save
|
||||
# execution bit for example.
|
||||
file_mode: keep
|
||||
sym_mode: 640
|
||||
|
||||
## Absent user
|
||||
cuser:
|
||||
|
||||
Reference in New Issue
Block a user