2d122afaf9
Instead of doing a recursive chown on /srv/node, chown only /srv/node and any immediate subdirectory under /srv/node. Change-Id: I8fd93fa77ba9fc63910360300b8783a34bd4e6d5 Closes-Bug: #1851169
5 lines
116 B
Bash
5 lines
116 B
Bash
#!/bin/bash
|
|
|
|
sudo find /srv/node/ -maxdepth 1 -type d -execdir chown swift:swift {} \+
|
|
mkdir -p /var/lib/swift/lock
|