[OpenIndiana-discuss] chmod: GNU chmod has no option -l
Carsten Grzemba
grzemba at contac-dt.de
Mon Jan 6 09:30:16 UTC 2014
Oh thank's, it is correct, only 'man chmod' points in the wrong direction:
man -s1 -a chmod
presents the right man page as second.
Am 06.01.14 schrieb "Predrag Zecevic [Unix Systems Administrator]" <predrag.zecevic at 2e-systems.com>:
> Hi,
>
> you were probably using GNU chmod (from /usr/gnu/bin).
> Try original one from /usr/bin ...
>
> $ head -1 /etc/release
> OpenIndiana Development oi_151.1.8 X86 (powered by illumos)
>
> $ touch /tmp/chmod-test
> $ /usr/gnu/bin/chmod -l /tmp/chmod-test
> /usr/gnu/bin/chmod: invalid option -- 'l'
> Try '/usr/gnu/bin/chmod --help' for more information.
>
> BUT:
> $ /usr/bin/chmod -l /tmp/chmod-test
>
> Regards.
>
> On 01/ 6/14 09:48 AM, Carsten Grzemba wrote:
> > Hi,
> >
> > is there a way to do a
> >
> > chmod -l filename
> >
> > on Solaris11 or OI?
> >
> > The option -l 'mandatory locking' is gone. chmod 2644 or 0644 works, but for an operation like chmod -l filename I have to read the other modes first.
> >
> > THX
> > _______________________________________________
> > OpenIndiana-discuss mailing list
> > OpenIndiana-discuss at openindiana.org
> > http://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
> --
> Predrag Zečević, Technical Support Analyst, 2e Systems GmbH
>
> Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
> Mobile: +49 174 3109 288, Skype: predrag.zecevic
> E-mail: predrag.zecevic at 2e-systems.com
>
> Headquarter: 2e Systems GmbH, Königsteiner Str. 87,
> 65812 Bad Soden am Taunus, Germany
> Company registration: Amtsgericht Königstein (Germany), HRB 7303
> Managing director: Phil Douglas
>
> http://www.2e-systems.com/ - Making your business fly!
>
> [***]===---
> "Being disintegrated makes me ve-ry an-gry!" <huff, huff>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
>
More information about the OpenIndiana-discuss
mailing list