mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
30c638a227
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
17 lines
359 B
Bash
17 lines
359 B
Bash
#!/bin/sh
|
|
test ! -e /tmp/folder && \
|
|
mkdir /tmp/folder
|
|
chmod 0567 /tmp/folder
|
|
|
|
echo -n 'hello world' > /tmp/file
|
|
test ! -e /tmp/symlink && \
|
|
ln -s /tmp/file /tmp/symlink
|
|
chmod 0777 /tmp/symlink
|
|
chmod 0765 /tmp/file
|
|
|
|
test ! -e /tmp/pipe && \
|
|
mkfifo /tmp/pipe
|
|
|
|
test ! -e /tmp/block_device && \
|
|
mknod /tmp/block_device b 7 7
|
|
chmod 0666 /tmp/block_device
|