8

I just check /etc/apparmor.d/usr.sbin.mysqld

I saw,

/var/lib/mysql/** rwk, // what is rwk stand for ? Is it read, write?? then what does k stands for?
/var/log/mysql/ r,

What does rwk stands for?

eggyal
  • 122,705
  • 18
  • 212
  • 237
Deepak Ingole
  • 14,912
  • 10
  • 47
  • 79

2 Answers2

14

As documented under File permissions:

  • r - read - permission to read data
  • w - write - permission to create, delete, write to a file and extend it
[ deletia ]
  • k - lock - permission to lock a file, is combined with write perm to determine if it has permission to take exclusive lock
200_success
  • 7,286
  • 1
  • 43
  • 74
eggyal
  • 122,705
  • 18
  • 212
  • 237
2

r stands for read, w for write and k for lock.