L2 Cache

Behold the power of |!

User Tools

Site Tools


Sidebar

snipets:solaris:chmod

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.

# set a file to hidden
chmod S+cH filename
# set a file to nohidden
chmod S-cH filename
snipets/solaris/chmod.txt · Last modified: 2014/10/09 22:02 (external edit)