On 23/04/10 02:32 AM, [email protected] wrote:
Hey Rich,
On Thu, Apr 22, 2010 at 12:13:53AM -0400, Richard Lowe wrote:
Richard Lowe wrote:
Shawn responded to a question I asked off list (that he respond to my
last paragraph) stating that he thinks we should try and preserve
ownership, but not complain if we fail to.
An updated webrev, which does this, is available from:
http://cr.opensolaris.org/~richlowe/pkg_15686-2
Please review with caution.
Just nits from me:
repositoryconfig.py:
- line 506: I think it's entirely possible to get an EPERM error when
calling chmod(2) as well as chown(2). The os.fchmod() call should
probably be in the same try/except block as the call to
portable.chown, no?
Hi Krister,
Are you sure? From the shell, at least, every time I've run
touch file
chmod a-rwx file
I still have permissions left which let me chmod the file back
to readable/writable by me.
gedanken:jmcp $ uname -a
SunOS gedanken 5.11 snv_135 i86pc i386 i86pc
gedanken:jmcp $ touch testfile
gedanken:jmcp $ ls -arlt testfile
1 -rw-r--r-- 1 jmcp staff 0 Apr 23 11:19 testfile
gedanken:jmcp $ chmod a-rwx testfile
gedanken:jmcp $ ls -arlt testfile
1 ---------- 1 jmcp staff 0 Apr 23 11:19 testfile
gedanken:jmcp $ chmod u+r testfile
gedanken:jmcp $ ls -arlt testfile
1 -r-------- 1 jmcp staff 0 Apr 23 11:19 testfile
cheers,
James
--
Senior Software Engineer, Solaris
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss