[OpenIndiana-discuss] How to revert a permissive chmod

Doug Hughes doug at will.to
Sun Jan 11 20:56:16 UTC 2015


Well, it's not the exactly same, but you could do
chmod -R go-w .

On 1/11/2015 3:33 PM, Harry Putnam wrote:
> Is there some similarly all incompassing command to revert:
>
>   /bin/chmod -R A=everyone@:full_set:fd:allow /some-dir
>
> back to a more default chmod 755 on directories and 644 on type -f files?
> (and no acls set)
>
> I mean short of using `find' in comination with chmod.
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the openindiana-discuss mailing list