help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Group Ownership


From: Tim Haynes
Subject: Re: Setting Group Ownership
Date: Thu, 12 Dec 2002 14:15:06 +0000
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

"CarlC" <carlc@snowbd.com> writes:

> "Tim Haynes" <usenet@stirfried.vegetable.org.uk> wrote in message
> news:863cp4su33.fsf@potato.vegetable.org.uk...
>> While I'm passing: is there some reason that asserting the setgid bit on
>> the directory would be a bad idea?
>
> Since you asked, Tim...Yes. This goes back to a design from my younger
> unix days. Actual users are running as client logins and the files are
> owned by these pseudo-users. I have an environment variable that contains
> the actual user. I want to set the group id of a file to reflect who
> actually changed this client's file. This is why just fixing it to the
> directory's group id is not what I want.

Ah, OK, I think I understand :)

> I have this process working, now. Thanks to all who helped me.

Goodie :8)

~Tim
-- 
I never knew that the                       |piglet@stirfried.vegetable.org.uk
light of ages breaks the way before us      |http://spodzone.org.uk/
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 09:55:09 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!hgmp.mrc.ac.uk!not-for-mail
From: Phillip Lord <p.lord@russet.org.uk>
Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help
Date: 12 Dec 2002 14:50:19 +0000
Organization: BIOSCI/MRC Human Genome Mapping Project Resource Centre
Lines: 49
Sender: phillord@rpc71.cs.man.ac.uk
Message-ID: <vf8yyv8f6c.fsf@rpc71.cs.man.ac.uk>
References: <041220020952400758%ajanta@no.spam>
        <56cfb0e3.0212041458.5eab182a@posting.google.com>
        <x5k7ipl35x.fsf@lola.goethe.zz> <061220020416350201%ajanta@no.spam>
        <slrnav1ed1.ho.smullerin@esb.bbn.com> <m2hedrm4oc.fsf@owlbear.local>
        <84bs3xsyi8.fsf@lucy.cs.uni-dortmund.de> 
<071220021155280606%ajanta@no.spam>
        <5ld6obj8il.fsf@rum.cs.yale.edu> <091220021652087216%ajanta@no.spam>
        <101220021125583826%ajanta@no.spam> <vf3cp5ix2u.fsf@rpc71.cs.man.ac.uk>
        <vf3cp4k92x.fsf@rpc71.cs.man.ac.uk> <111220021101520860%ajanta@no.spam>
        <vfadjcif3n.fsf@rpc71.cs.man.ac.uk> <111220021253524057%ajanta@no.spam>
        <84of7s703d.fsf@lucy.cs.uni-dortmund.de>
        <111220022147059290%anil@null.invalid>
NNTP-Posting-Host: bromine.hgmp.mrc.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: niobium.hgmp.mrc.ac.uk 1039704620 339 193.62.192.35 (12 Dec 2002
        14:50:20 GMT)
X-Complaints-To: news@net.bio.net
NNTP-Posting-Date: Thu, 12 Dec 2002 14:50:20 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93
Xref: shelby.stanford.edu comp.sys.mac.apps:348709
        comp.sys.mac.advocacy:917497 comp.text.tex:237985 gnu.emacs.help:108033
To: help-gnu-emacs@gnu.org
Subject: Re: Software/HD ecology
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 12 Dec 2002 14:55:09 -0000

>>>>> "Anil" == Anil Trivedi <anil@null.invalid> writes:

  Anil> Stefan Monnier wrote:

  >> As maintainers, it's in our own interest to keep things
  >> uncluttered, so we strive to find some logic to things such that
  >> we can organize our files and keep files in their logical
  >> place...I don't claim that the current arrangement is perfect,
  >> but it takes time and energy to think about how to make it better
  >> and to fix the various places where things aren't consistent and
  >> logical, so help is most welcome.

  Anil> Kai Gro_johann wrote:

  >> Writing these few extra lines is a LOT of work. Most important of
  >> all, it's not clear what to delete.  There would be *endless*
  >> arguments about which files to remove and which files to keep.
  >> Emacs consists of 2297 files (on my system), it's very difficult
  >> to untangle dependencies on them.

  Anil> 2. Once the program compiles, and works fine, the user should
  Anil>    be able
  Anil> to delete all files that were needed in compiling but will not
  Anil> be needed in running it, or in uninstalling it.

 
I think Kai's example showed the problem with this. 

Personally I find an emacs without the .el files half baked. The
reason for this is that I read the .el source as a form of
documentation. Clearly this makes me a specialist user, but none the
less a user. Similarly the hyper links in command documentation will
not work with source, as there is no source to jump to.

The M-x finder-commentary example shows that even non programming
users may need the source to get all the functionality that they
require. Of course it would be possible to ensure that the commentary
was copied into the .elc file, or alternatively, it could be cut out,
and kept, so that you could still view it even when the .el files were
gone. 

The core problem is that the Emacs is a lisp interpreter. The
distinction between "files required for compiling" and "files required
for running" is not clear with lisp as it is with C, for instance. My
own feeling is that binary distributions of emacs should always
include .el files, but not the C source for the lisp
interpreter. Which is what Emacs's own makefile installs. 

Phil
>From help-gnu-emacs-bounces@gnu.org  Thu Dec 12 10:15:12 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.us.prserv.net!prserv.net!cyclone.swbell.net!newsfeed1.easynews.com!easynews.com!easynews!novia!newscene!newscene!novia!novia!sequencer.newscene.com!not-for-mail
From: Galen Boyer <galenboyer@hotpop.com>
Newsgroups: gnu.emacs.help
Date: 12 Dec 2002 09:12:15 -0600
Lines: 19
Sender: boyerg@BOYER-GA
Message-ID: <uwumf9sub.fsf@standardandpoors.com>
References: <d3f86b28.0212120620.78350af6@posting.google.com>
Original-Sender: galenboyer@hotpop.com
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Xref: shelby.stanford.edu gnu.emacs.help:108034
To: help-gnu-emacs@gnu.org
Subject: Re: GNU Emacs under Windows 2000: .emacs file
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 12 Dec 2002 15:15:12 -0000

On 12 Dec 2002, jaime.suarez@crossmatch.net wrote:
> I installed the Win2K version of GNU Emacs and
> it runs fine.  However I cannot find the file
> .emacs or _emacs.  Where is this file supposed
> to be?  Do I have to create it?

Type C-x C-f ~/.emacs

You are now in that file.  (The point is that Emacs either finds
a file that exists or makes a buffer that, when saved, will be
that file)

> In Windows 2000, what is the equivalent of
> the UNIX "Home" directory?  

The HOME environmental variable.

-- 
Galen Boyer
>From Jay.Bingham@hp.com Thu Dec 12 10:35:54 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18MVJz-0002WK-00
        for help-gnu-emacs@gnu.org; Thu, 12 Dec 2002 10:32:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18MVIr-0001uo-00
        for help-gnu-emacs@gnu.org; Thu, 12 Dec 2002 10:31:11 -0500
Received: from zcamail03.zca.compaq.com ([161.114.32.103])
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18MVHQ-0000gX-00
        for help-gnu-emacs@gnu.org; Thu, 12 Dec 2002 10:29:40 -0500
Received: from cacexg11.americas.cpqcorp.net (cacexg11.americas.cpqcorp.net
        [16.105.250.94])
        by zcamail03.zca.compaq.com (Postfix) with ESMTP id 45BF41FEE
        for <help-gnu-emacs@gnu.org>; Thu, 12 Dec 2002 07:28:18 -0800 (PST)
Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by
        cacexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
        Thu, 12 Dec 2002 07:28:17 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 12 Dec 2002 09:28:17 -0600
Message-ID: 
<72A87F7160C0994D8C5A36E2FDC227F502473FA2@txnexc01.americas.cpqcorp.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: backward-delete-word?
Thread-Index: AcKh6qwOtr2YirwLTFexXz0CXLdpeQAA9cUg
From: "Bingham, Jay" <Jay.Bingham@hp.com>
To: <help-gnu-emacs@gnu.org>
X-OriginalArrivalTime: 12 Dec 2002 15:28:17.0986 (UTC)
        FILETIME=[187E7220:01C2A1F3]
Subject: RE: backward-delete-word?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 12 Dec 2002 15:35:54 -0000

Timur,

I feel your pain.
In similar circumstances I have stored text in a register and inserted
it into the buffer from the register.
Here are the register commands that I believe would interest you:
C-x r s <register-name> - copy region to register.
C-u C-x r s <register-name> - kill region to register.
C-x r a <register-name> - append copy of region to register.
C-u C-x r a <register-name> - kill region append to register.
C-x r i <register-name> - insert register contents into buffer.

Info describes registers as follows:
Each register has a name which is a single character.  A register can
store a piece of text, a rectangle, a position, a window configuration,
or a file name, but only one thing at any given time.  Whatever you
store in a register remains there until you store something else in that
register.  To see what a register R contains, use `M-x view-register'.

`M-x view-register <RET> R'

Single character means any character that you can enter from your
keyboard.  So A and a valid register names and specify two separate
registers, ~ is a valid register name, as is C-x.

Hope this helps,
-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Quality
Assurance
.    Office:  2122                  Phone:  8945
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."       -Dr. George W.
Crane-


-----Original Message-----
From: Timur Aydin [mailto:tayd@bicom-inc.com]=20
Sent: Thursday, December 12, 2002 8:24 AM
To: help-gnu-emacs@gnu.org
Subject: Re: backward-delete-word?

Barry Margolin <barmar@genuity.net> writes:

> In article <un0nckwrq.fsf@superonline.com>,
>=20
> >C-Backspace invokes backward-kill-word. I guess the problem is the
> >"kill", which saves the data in the kill ring. I probably need a
> >"backward-delete-word". Does this thing exist or does it have to be
> >written?
>=20
> What I usually do is paste first, and then delete.  I position the
cursor
> at the beginning of the word and type C-y M-d.
>=20

Yes, that works for one paste, but when I position to another string
that I want to paste over, the C-y now pastes the word that was
previously killed. Because the killed data goes to the kill-ring,
whenever I operate on a new word, I have to hit C-y M-y and the number
of M-y's is going to be one more than before. So, if I want to operate
on 4 strings, I will have to hit C-y M-y M-y M-y on the fourth
string...

--
Timur.

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]