vagrant-bindfs 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/vagrant-bindfs/middleware.rb +3 -2
- data/lib/vagrant-bindfs/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -18,16 +18,16 @@ bind_folder support following arguments...
|
|
18
18
|
|
19
19
|
- `:user` (defaults to 'vagrant')
|
20
20
|
- `:group` (defaults to 'vagrant')
|
21
|
-
- `:perms` (defaults to 'u=
|
21
|
+
- `:perms` (defaults to 'u=rwX:g=rD:o=rD')
|
22
22
|
- `:mirror`
|
23
23
|
- `:'mirror-only'`
|
24
|
-
- `:'no-allow-other'`
|
25
24
|
- `:'create-for-user'`
|
26
25
|
- `:'create-for-group'`
|
27
26
|
- `:'create-with-perms'`
|
28
27
|
|
29
28
|
... and following flags (all disabled by default, vagrant-bindfs rely on bindfs own defaults) :
|
30
29
|
|
30
|
+
- `:'no-allow-other'`
|
31
31
|
- `:'create-as-user'`
|
32
32
|
- `:'create-as-mounter'`
|
33
33
|
- `:'chown-normal'`
|
@@ -7,10 +7,9 @@ module VagrantBindfs
|
|
7
7
|
@@options = {
|
8
8
|
:owner => 'vagrant',
|
9
9
|
:group => 'vagrant',
|
10
|
-
:perms => 'u=
|
10
|
+
:perms => 'u=rwX:g=rD:o=rD',
|
11
11
|
:mirror => nil,
|
12
12
|
:'mirror-only' => nil,
|
13
|
-
:'no-allow-other' => nil,
|
14
13
|
:'create-for-user' => nil,
|
15
14
|
:'create-for-group' => nil,
|
16
15
|
:'create-with-perms' => nil,
|
@@ -18,6 +17,7 @@ module VagrantBindfs
|
|
18
17
|
|
19
18
|
# Flags
|
20
19
|
@@flags = {
|
20
|
+
:'no-allow-other' => false,
|
21
21
|
:'create-as-user' => false,
|
22
22
|
:'create-as-mounter' => false,
|
23
23
|
:'chown-normal' => false,
|
@@ -91,6 +91,7 @@ module VagrantBindfs
|
|
91
91
|
:path => path,
|
92
92
|
:bindpath => bindpath
|
93
93
|
)
|
94
|
+
@env.ui.info "sudo bindfs#{args} #{path} #{bindpath}"
|
94
95
|
rescue Vagrant::Errors::VagrantError => e
|
95
96
|
@env.ui.error e
|
96
97
|
@env.ui.error I18n.t("vagrant.actions.vm.bind_folders.bindfs_command_fail")
|