code review request: 7078355: sun/net/www/protocol/file/DirPermissionDenied.sh leaves garbage on some linux systems (original) (raw)
Weijun Wang weijun.wang at oracle.com
Thu Aug 11 23:56:34 PDT 2011
- Previous message: hg: jdk8/tl/jdk: 7055363: jdk_security3 test target cleanup
- Next message: code review request: 7078355: sun/net/www/protocol/file/DirPermissionDenied.sh leaves garbage on some linux systems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CR: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078355 webrev: http://cr.openjdk.java.net/~weijun/7078355/webrev.00/
Evaluation:
It seems on this system, being an owner of a directory does not automatically grants a user every privileged action on it. A chmod is still needed.
Description:
sun/net/www/protocol/file/DirPermissionDenied.sh has these lines:
mkdir -p ${TESTDIR}
chmod 333 ${TESTDIR}
...
rm -rf ${TESTDIR}
On one of SQE's test machines the "rm -rf" fails saying "cannot open directory...: Permission denied". The machine is a --
$ uname -a Linux sc14160057 2.6.18-238.0.0.0.1.el5xen #1 SMP Tue Jan 4 07:38:47 EST 2011 i686 i686 i386 GNU/Linux $ arch i686 $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.6 (Tikanga)
It seems this system needs a read access to rm, even if called by the owner.
The test runs fine on other systems.
Thanks Max
- Previous message: hg: jdk8/tl/jdk: 7055363: jdk_security3 test target cleanup
- Next message: code review request: 7078355: sun/net/www/protocol/file/DirPermissionDenied.sh leaves garbage on some linux systems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]