unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ehud Karni" <ehud@unix.mvs.co.il>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to set umask, owner, and group for newly created file  under Win2K?
Date: Sun, 21 Dec 2003 11:47:33 +0200	[thread overview]
Message-ID: <200312210947.hBL9lXLJ015600@beta.mvs.co.il> (raw)
In-Reply-To: <uekuyr3ax.fsf@elta.co.il> (message from Eli Zaretskii on 21 Dec 2003 10:19:18 +0200)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21 Dec 2003 10:19:18 +0200, Eli Zaretskii <eliz@elta.co.il> wrote:
>
> > Date: Sat, 20 Dec 2003 23:43:29 -0800
> > From: Subhashis Mohanty <smohanty@mohanty.com>
> >
> > . emacs-20.7
> > . Win2K SP4
> > . Open new file via C-x C-f
> > . Save file via C-x C-s
> >
> > Uunder emacs the file perms are wrong, turning the execute bit on for
> > the user, and changing the username to Administrator.
>
> Summary: you can't have that on Windows, unless you use Emacs compiled
> as a Cygwin program.  You could work around this by invoking Cygwin
> ports of chown/chmod from Emacs.

There is a Cygwin Emacs (version 21.2, ported by Joe Buehler) that works
both on terminal and X, but not on the native Windows screen. This will
do all you want.

Ehud.


- --
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQE/5WwzLFvTvpjqOY0RAggfAJ9tvxHB7VgsnupMzAMi7RMLJT+p5gCfedG1
LsmVRb7MxHwK8MMQ3QcMHLU=
=vmT6
-----END PGP SIGNATURE-----

  reply	other threads:[~2003-12-21  9:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6.0.0.22.0.20031220232158.0368c790@localhost:7014>
2003-12-21  8:19 ` How to set umask, owner, and group for newly created file under Win2K? Eli Zaretskii
2003-12-21  9:47   ` Ehud Karni [this message]
     [not found] <mailman.421.1071996488.868.help-gnu-emacs@gnu.org>
2003-12-21 11:11 ` Kai Grossjohann
2003-12-21 12:55 ` Jason Rumney
2003-12-21  7:43 Subhashis Mohanty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312210947.hBL9lXLJ015600@beta.mvs.co.il \
    --to=ehud@unix.mvs.co.il \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).