Skip to content

Commit 9559e55

Browse files
ao2jemoreira
authored andcommitted
Fix chown commands to silence some warnings
Fix chown commands to silence the following warnings: chown: warning: '.' should be ':': 'root.kvm' chown: warning: '.' should be ':': 'root.cvdnetwork' chown: warning: '.' should be ':': 'root.cvdnetwork'
1 parent 005e225 commit 9559e55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

base/debian/cuttlefish-base.cuttlefish-host-resources.init

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ start() {
293293
# When running inside a privileged container, set the ownership and access
294294
# of these device nodes.
295295
if test -f /.dockerenv; then
296-
chown root.kvm /dev/kvm
297-
chown root.cvdnetwork /dev/vhost-net
298-
chown root.cvdnetwork /dev/vhost-vsock
296+
chown root:kvm /dev/kvm
297+
chown root:cvdnetwork /dev/vhost-net
298+
chown root:cvdnetwork /dev/vhost-vsock
299299
chmod ug+rw /dev/kvm
300300
chmod ug+rw /dev/vhost-net
301301
chmod ug+rw /dev/vhost-vsock

0 commit comments

Comments
 (0)