----- Original Message ----- 
From: "Doug Monroe" <[EMAIL PROTECTED]>

> reset's the bit??
> FWIW- VI works fine for me w/o resetting on RH 7.2
>
> # ls -la /var/qmail/bin/qmail-scanner-queue.pl
> -rwsr-xr-x    1 qscand   qscand      84012 Sep 12 21:52
> /var/qmail/bin/qmail-scanner-queue.pl
>
> # vi /var/qmail/bin/qmail-scanner-queue.pl
> [edit/save]
>
> # ls -la /var/qmail/bin/qmail-scanner-queue.pl
> -rwsr-xr-x    1 qscand   qscand      84026 Sep 30 17:21
> /var/qmail/bin/qmail-scanner-queue.pl

We are using Red Hat 7.2.  Two boxes actually and they both do it.  I just
did a test on a Mandrake 8.1 test box and it did the exact same thing.

# touch testfile
# chmod 4755 testfile
# ls -l testfile
-rwsr-xr-x    1 malcolms malcolms        7 Sep 30 16:41 testfile
# vi testfile
[edit/save]
# ls -l testfile
-rwxr-xr-x    1 malcolms malcolms        7 Sep 30 16:42 testfile

I don't know why it does that but it's annoyning.

I just tested on a Red Hat 7.3 box and it does not reset the permissions.
My guess is a vi config file somewhere I need to tweak.

Thanks
Malcolm



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to