Date: 22 Sep 1999 04:01:39 -0000 From: vladimir@math.uic.edu To: FreeBSD-gnats-submit@freebsd.org Subject: bin/13889: /usr/bin/chmod +t and /usr/bin/chmod +s have no effect Message-ID: <19990922040139.23342.qmail@galileo.math.uic.edu>
next in thread | raw e-mail | index | archive | help
>Number: 13889 >Category: bin >Synopsis: /usr/bin/chmod +t and /usr/bin/chmod +s have no effect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 21 21:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Vladimir V. Egorin >Release: FreeBSD 3.3-STABLE i386 >Organization: Department of Mathematics, University of Illinois >Environment: >Description: /usr/bin/chmod +t filename and /usr/bin/chmod +s filename have no effect on the file permission and do not give any error messages. I believe the effect should be setting the sticky bit and setuid bit on the file mode resp. >How-To-Repeat: >touch /tmp/file >ls -l /tmp/file -rw-r--r-- 1 vladimir wheel 0 Sep 21 22:59 /tmp/file >chmod +t /tmp/file >ls -l /tmp/file -rw-r--r-- 1 vladimir wheel 0 Sep 21 22:59 /tmp/file >Fix: Looks like /usr/src/lib/libc/gen/setmode.c is at fault, no fix known. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990922040139.23342.qmail>