L2 Cache

Behold the power of |!

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

snipets:solaris:chmod [2014/10/09 22:02] (current)
Line 1: Line 1:
 +====== Hiding and Unhiding files on a CIFS share ======
 +===== Introduction =====
 +Some very rough snippet for my self because it took me for ever to figure it out!
 +===== The power of chmod =====
 +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.
 +<code bash>
 +# set a file to hidden
 +chmod S+cH filename
 +<code bash>
 +# set a file to nohidden
 +chmod S-cH filename
snipets/solaris/chmod.txt · Last modified: 2014/10/09 22:02 (external edit)