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
[email protected]
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:    [email protected]

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
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to