[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] file ownership in NTemacs
From: |
Richard M. Heiberger |
Subject: |
[h-e-w] file ownership in NTemacs |
Date: |
Sat, 1 Mar 2003 03:46:28 -0500 (EST) |
Windows XP Home edition has a concept of file ownership that
parts of NTemacs understand and other parts don't. These are
my observations along with a request for someone who understands
the underlying Windows to fix the behavior I see.
There are three accounts on my machine: Administrator, Owner, rmh.
The machine came with the Owner account and I copied many files to the
machine in that account before I created my own rmh account.
I can gunzip gzipped files belonging to Owner from dired by entering
X gunzip -N
(The more obvious Z isn't working, I don't know why. Z does gzip files.)
Then when I open them into emacs, they come up empty with a warning that
the file exists but can't be read.
I discovered that I can use M 777 from dired to change the mode, and then
the file can be read. The obvious O command to change the owner is not
supported on NTemacs. The corresponding chown is supported by cygwin.
dired shows owner and group
-rw-rw-rw- 1 rmh root 32851 Mar 23 1999 cdrom
find-dired shows
-rwx------+ 1 Owner mkpasswd 32851 Mar 23 1999 cdrom
system files are shown by dired
-rw-rw-rw- 1 rmh root 799 Aug 18 2001 prtwebvw.css
and by find-dired
-rwxrwx---+ 1 Administ SYSTEM 799 Aug 18 2001 prtwebvw.css
I am currently using
GNU Emacs 21.2.95.1 (i386-msvc-nt5.1.2600) of 2003-01-30 on buffy
Here are my requests
1. I would like dired to show the owner and group that Windows XT understands,
which I believe is the same as shown by find-dired.
2. I would like O to work to change the owner. I suppose it should
honor the account type. I have set myself as an administrator on this machine
so I expect it to work for me. cygwin chown works from the *shell* buffer.
3. Since find-dired displays several different groups, I assume there
is a concept of group on Windows XT. I don't know how it corresponds
to what Windows thinks. I would like G to change groups in dired.
cygwin chgrp works from the *shell* buffer.
4. Since there is a concept of owner and group, and since find-dired
displays three distinct sets of permissions, I would like dired to
also display the three distinct sets of permissions.
5. In dired-aux.el change dired-do-chown and dired-do-chgrp to
recognize when cygwin is installed and redefine dired-chown-program
and define a new dired-chgrp-program to use the cygwin functions.
Thank you
Rich
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [h-e-w] file ownership in NTemacs,
Richard M. Heiberger <=