From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Execute Emacs command with root privilege. Date: Thu, 17 Jun 2021 11:08:36 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1306"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 17 05:09:34 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltiPN-000AeI-Mm for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 17 Jun 2021 05:09:33 +0200 Original-Received: from localhost ([::1]:46632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltiPM-0007ck-6S for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 23:09:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltiOi-0007ca-Lx for help-gnu-emacs@gnu.org; Wed, 16 Jun 2021 23:08:52 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:39633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltiOh-0003Yh-5f for help-gnu-emacs@gnu.org; Wed, 16 Jun 2021 23:08:52 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id p17so7808712lfc.6 for ; Wed, 16 Jun 2021 20:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XewlZAIGyyJ73fxtPLRS88Pe2BgN31TfFxsnVoJeT1U=; b=d1RgWXLTPHU5C5hipT4BiU40/BLo3AhQt5GNV5oymWc/TxOPgDkAPBF6XZhfzC7P3z djHrq00OTlISFbnYVkGCJNCVcfu7ep4RtbVFXLEiKF+5HomeCWKVJhGhYMtzcE7hqwKs XSp8qeW6IKlWQkuUFBgEqkwXA4XGeMnOP4wvAVzA+bXOonbIO2juSzfJDz7wkVQeSBJ/ O8RLnBw/mCCmfCIgmrjyyP9dfeswzkoBnM7uQIFx8yupdJdCY9FMBlf5K3vYs0KvbR2t ohdp4zTzR5SP+YMBiiI4nK5bojlP0Nfb5vQ3d3JlvmfVfJEsuJyAKNMwvbI5XPyYX2u3 D3tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XewlZAIGyyJ73fxtPLRS88Pe2BgN31TfFxsnVoJeT1U=; b=gBT5n+gF2iO8LtFIaD06cf6o0wiOWq7r2e0yUtDdMRQv21pk0zoIEaOZKNYCZa9Q2u bhr+89UU//hPoSNayh++LgvVXNkme0UHLixoPmJhiV/+kRFD3JC6yP0TYl//06LwL+TK pTu0+FdKb/pUAxrUt6Phc+02lU/y0uU7IBXzuwA42s+sX6aqqEu8X4AFX0aBXZ8+pmB3 PdUMxcLe03dT7qFhFkGuVjpA6lnKbm4a0mezCp2kdf7KE/A7Ay+Cqkjq43pxqPDlefqb P0Q3lFaWLOpH75NiMdAQk4zQfwtLkz67FZOPP+MzK7fixCZFD4OkG16V+29ANKrKNBiR kmBA== X-Gm-Message-State: AOAM5315NXke6F0gVsjZ+uSMkrTeHsu6RNKNEMf7ESOUzOYHfgF6cBn2 w/XVCMRbhiVlUPl8FFL5FateHGJZRHrtuyjqIl/4C3bT+8LhRYZAk6s= X-Google-Smtp-Source: ABdhPJzuIE/1y2w27hvfAkFL/VD9j1XBz3QqNvXuSBr+h4u8wLgvHHmms5ARQ8yJUp99iuXrX/UAJhqFvjpSrwn8+fM= X-Received: by 2002:a19:5e18:: with SMTP id s24mr2255970lfb.545.1623899327877; Wed, 16 Jun 2021 20:08:47 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x136.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130948 Archived-At: In Emacs, when I issue the 'M-x TeX-auto-generate-global' command after loading AUCTeX, the followng error will be triggered: TeX-auto-store: Opening output file: Permission denied, /usr/local/var/auctex/amsppt.el Is it possible to enable the root privilege for executing the above command? Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China