How to make a file immutable in Solaris?
05/01/2018 14:54
Hi, how does one go about making a file immutable in Solaris? I'm looking for the Linux equivalent of chattr on Linux.

I've looked at the man pages for setacl, etc but they do not seem to do what I am looking for.

Thanks

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - In article <41D87C55.379FBC5D@nrubsig.org>, Roland Mainz <roland.mainz@nrubsig.org> wrote: Is there an RFE for /usr/bin/ksh93? John groenveld@acm.org

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - In article <41D90D54.E69DB050@nrubsig.org>, Roland Mainz <roland.mainz@nrubsig.org> writes: If you had looked at the link you were just given, you would've seen a Common Public License Version 1.0 link, which points to http://www.opensource.org/licenses/cpl (but opened in a frame).

It originated with IBM, but to my eyes (ObIANAL), looks a bit like GPL-lite minus explicit ideology preamble, plus some references to patents (perhaps like what's rumored will be in GPL 3).

http://www.gnu.org/philosophy/license-list.html describes it like this: This is a free software license but it is incompatible with the GPL.

The Common Public License is incompatible with the GPL because it has various specific requirements that are not in the GPL.

For example, it requires certain patent licenses be given that the GPL does not require. (We don't think those patent license requirements are inherently a bad idea, but nonetheless they are incompatible with the GNU GPL.) -- mailto:rlhamil@smart.net http://www.smart.net/~rlhamil Lasik/PRK theme music: In the Hall of the Mountain King, from Peer Gynt

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - On Sun, 2 Jan 2005, Roland Mainz wrote: That's true. Although from what I can tell, immutable files are a good idea, so they'd have a good chance of getting in--so long as compaibility could be preserved, etc.

Yep! -- Rich Teer, SCNA, SCSA, author of Solaris Systems Programming . * * . * .* .

. * . .* President, * . . / ( . . * Rite Online Inc. . . / . . * .

.*. / * . .

. /* o .

Voice: +1 (250) 979-1638 * '''||''' .

URL: http://www.rite-online.net ******************

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - On Tue, 28 Dec 2004 23:44:39 +0000, Rich Teer wrote: That is just one of the flags which can be set in BSD using chflags.

arch set the archived flag opaque set the opaque flag (owner or superuser only) nodump set the nodump flag (owner or superuser only) sappnd set the system append-only flag (superuser only) schg set the system immutable flag (superuser only) uappnd set the user append-only flag (owner or superuser only) uchg set the user immutable flag (owner or superuser only)

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - Markus Gyger wrote: What is CPL ? ---- Bye, Roland -- __ . . __ (o. / /.o) roland.mainz@nrubsig.org __//__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /== O TEL +49 641 7950090 (;O/ / O;)

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - In article <pan.2004.12.29.00.30.21.175777@yahoo.com>, Dave Uhring <daveuhring@yahoo.com> wrote: Sun cannot implement this on top of UFS excelt when they would create a shadow inode to hold the apropriate data. The UFS inode on Solaris is completely exhausted and I believe it has been exhausted before BSD added the flags.

I hope that Sun will implement similar functionality in ZFS.

BTW: Star supports it ;-) -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.fraunhofer.de (work) chars I am Jorg Schilling URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - Richard L. Hamilton writes: See also http://catb.org/~esr/Licensing-HOWTO.html#comparisons for a draft document with a comparison table (written by ESR).

Markus

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - groenvel> Is there an RFE for /usr/bin/ksh93? 4113420 *ksh* request for ksh93 integration -- John

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - On Tue, 28 Dec 2004 tudmuf2b@onebox.com wrote: On current file systems, you don't. Assuming you mean immutable in the OpenBSD way (i.e., you can't delete or change a file, but you can add to it).

Man chmod. But there's still no immutable flag to change.

-- Rich Teer, SCNA, SCSA, author of Solaris Systems Programming . * * . * .* .

. * . .* President, * . . / ( . . * Rite Online Inc. . . / . . * .

.*. / * . .

. /* o .

Voice: +1 (250) 979-1638 * '''||''' .

URL: http://www.rite-online.net ******************

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - Rich Teer wrote: There are other good ideas which Sun could do... the problem is: Sun doesn't do it. Just think about the (quite easy) task of shipping ksh93 with Solaris and/or fixing dtksh (since the current version is based upon a pre-alpha version of ksh93 where even the ksh93 authors agree that this version should have NEVER been shipped with a production system).

---- Bye, Roland -- __ . . __ (o. / /.o) roland.mainz@nrubsig.org __//__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /== O TEL +49 641 7950090 (;O/ / O;)

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - John Beck <jbeck+news@eng.sun.com> writes: FYI, ksh93 recently changed its license to the CPL.

http://www.research.att.com/~gsf/download/ Markus

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - Rich Teer wrote: Yeah... still the question whether Sun will ship that feature enabled for their Solaris releases (sure, I could ship my own OpenSolaris release then... =:-) ...

---- Bye, Roland -- __ . . __ (o. / /.o) roland.mainz@nrubsig.org __//__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /== O TEL +49 641 7950090 (;O/ / O;)

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - Joerg Schilling wrote: ;-( Isn't it possible to (mis-)use the extended filesystem attribute support in UFS for that somehow ? And what about NFSv3 - can it handle these attributes, too ? Yeah, but how likely is it that such a RFE will be implemented ? 1. Does the current Solaris 10 API support getting/setting these extra flags ? 2. Solaris's tar and the SYSV package system need to be updated to support these extra flags... is there anything else ? ---- Bye, Roland -- __ . . __ (o. / /.o) roland.mainz@nrubsig.org __//__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /== O TEL +49 641 7950090 (;O/ / O;)

Source is Usenet: comp.unix.solaris
Sign in to add a comment

Answer score: 5
05/01/2018 14:54 - On Wed, 29 Dec 2004, Roland Mainz wrote: With Open Solaris, you'll be able to do it yourself! -- Rich Teer, SCNA, SCSA, author of Solaris Systems Programming . * * . * .* .

. * . .* President, * . . / ( . . * Rite Online Inc. . . / . . * .

.*. / * . .

. /* o .

Voice: +1 (250) 979-1638 * '''||''' .

URL: http://www.rite-online.net ******************

Source is Usenet: comp.unix.solaris
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below