[OpenIndiana-discuss] chmod: GNU chmod has no option -l

Predrag Zecevic [Unix Systems Administrator] predrag.zecevic at 2e-systems.com
Mon Jan 6 08:54:34 UTC 2014


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>



More information about the OpenIndiana-discuss mailing list