From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Trouble saving to the emacs file dir under Windows Date: Tue, 14 Jun 2016 12:34:51 +0600 Message-ID: References: <2ad2e21d-065f-4cdb-a836-8b30b199a235@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1465886316 3648 80.91.229.3 (14 Jun 2016 06:38:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2016 06:38:36 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Davin Pearson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 08:38:36 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bChze-0000Dx-Dl for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 08:38:34 +0200 Original-Received: from localhost ([::1]:33003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bChzd-0007db-MB for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 02:38:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bChwQ-0005gR-CX for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 02:35:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bChwO-00046h-CW for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 02:35:13 -0400 Original-Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:34514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bChwO-00046Y-5E for help-gnu-emacs@gnu.org; Tue, 14 Jun 2016 02:35:12 -0400 Original-Received: by mail-lf0-x233.google.com with SMTP id j7so73954637lfg.1 for ; Mon, 13 Jun 2016 23:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=FBRvlb7BezqYsGik/sGO0mexj1S1SfsaiNIpPNGFmy8=; b=L7eCim969/kB9SlprcBtufDH7cXgch6tNkTV4kEgSyf4fW/bArljT8iUH3eryJ7SUv osfAfjOvCZtQFDVH9likR252neB1dQCpEUQCiPWBr97aivpQ2At/fIyg4+weeEV+s245 zWN7asXh/wx3ixltds7NJ4QbQYnYx4kH2yCsXfBTEVzENZCqYGudZfI2k4q0cSwNRfUh 49XUTtU7gL0kp8pbQV4W06BeInZ338Sh9GfyrW9zFh0Uax94MdemvH5pBx5gCKKeFyms kzjnEj6wOmfC1Ey7bZko8L5PkQvVgMA096SOkZXK+4Y4dbQA1Vy7Zg3D0/c+7yrmHe4v Zm9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=FBRvlb7BezqYsGik/sGO0mexj1S1SfsaiNIpPNGFmy8=; b=E2uIeKEu9UJKW9z4EooTjN6PpxBPwUjGANS5VZIAGunK9NS1L3/GdgRHEVVa1QwW2/ CRQPJZgpUoWCI2uA28v1uB1BsqNjYJ+X+CrIiAGB5Cm7fMLYqU6pVf2xN1kXW1hvFZ7d 0VLZkEwN11/Dv+IXCuhoRblVPPBt0zuBsyMXP1G/CMSm5960R1INVWHBqmYbRD9/8WSR vDee5yMI6EEATpN0ZXknsbJk2TamUZq8RJF/Wq/siE4MqFBB5pefslS87sTf4VutRRNq xitXLn6xBdTgo/PL/M4SPhXDbkq0vmQG3oxfNlTu2BwXp3VYJWXj0ExGcJTnVGfrVTv7 BTbA== X-Gm-Message-State: ALyK8tJFfcjuZVv+JqskLdFWcQetAYEwyL2QplXPzFaoLNcF1iscJ0b3LHNihDIQh3rML0yeC6nHC6u0kwF03Q== X-Received: by 10.25.150.204 with SMTP id y195mr1311245lfd.168.1465886111149; Mon, 13 Jun 2016 23:35:11 -0700 (PDT) Original-Received: by 10.114.182.167 with HTTP; Mon, 13 Jun 2016 23:34:51 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: Pmx0kDWk5UzPJpxvEpuV3zjfxRs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::233 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110437 Archived-At: On Tue, Jun 14, 2016 at 6:14 AM, Davin Pearson wr= ote: > The read only check box is not marked so chmod won't help me here. My in= staller module adds a line to the dir file pointing to a new folder created= inside c:/Program Files (x86)/emacs-*. I managed to manually change the r= ead only status of the file "dir" by right clicking on "dir" and choosing "= Properties", then clicking on "Security" and clicking on Users (DAVINPEARSO= N/Users) and clicking on the box: allow full control. You are trying to solve some user problem, and you think modifying a system-wide file is part of the solution. So you are asking for ways to modify the system-wide file while running under the user=E2=80=99s accou= nt. The Program Files directory on Windows and the /usr directory on *nix are protected from modification by users for a reason. Please describe the wider problem in terms of the user and the user=E2=80= =99s actions and expectations, so that others could help you solve it.