4
votes
3answers
288 views

How to inspect group permissions of a file

I would like to inspect group permissions of a file from a bash script. Specifically, I need to check whether a file has the group writeable bit on. That's it. Simple as that. However: I also need ...
1
vote
1answer
418 views

What is “raw mode in hex” from stat output?

When using GNU stat to probe the filesystem, there are a number of format sequences available for the --format/--printf arguments; this one in particular %f Raw mode in hex doesn't make much ...