jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: gid/uid bug in JED


Dear John,

On Wed, Feb 05, 2003 at 08:13:29PM +0100, Charl P. Botha wrote:
> A debian user, Petr Linke, has reported a gid/uid handling bug that can be
> reproduced on a modern linux system by doing the following:
> 
> 1. assume the root uid.gid
> 2. touch /tmp/test-file
> 3. chown uid.gid /tmp/test-file where both uid and gid are > 32767, e.g. 32768
> 4. jed /tmp/test-file, make some changes to the file and save it
> 5. ls -la /tmp/test-file will show a wrapped uid and gid
> 
> Petr also suggested that this problem can be fixed by changing the type of
> gid and uid from short to int in file.c, unix.c, os2.c, win32.c, vms.c and
> in the sys_chmod function in sysdep.h

If you've had time to take a look at this, I would really like to hear your
comments.  I want to commit a fixed JED to Debian ASAP but preferably with
your blessing on the solution.

Thanks,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]