- personal
- snipets
- openbsd
- linux
- solaris
- configuration
Some very rough snippet for my self because it took me for ever to figure it out!
So chmod does a whole lot more than I thought it did. Granted I was using gnu's chmod for a while but have now reverted back to using the stock chmod. (On hind sight using the gnu coreutils for a while was stupid on my part)
So chmod also does ZFS ACL and extended attributed and other nice things. Lets dive in with 2 examples.
# set a file to hidden chmod S+cH filename
# set a file to nohidden chmod S-cH filename