Bugs item #3073475, was opened at 2010-09-22 10:50
Message generated for change (Comment added) made by seb_kuzminsky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3073475&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build System
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Fox Mulder (quakeman666)
Assigned to: Alex Joni (alex_joni)
Summary: man directory rights error

Initial Comment:
When i get the sourcecode for emc2 with git and want to compile it like 
described in the wiki i get an error. The problem is that after everything is 
compiled the man pages get processed and there the following error occured:

/usr/bin/mandb: can't create a temporary filename: Permission denied
make: *** [../docs/man/index.db] Error 2

After a bit searching and with strace i found out that the directory 
permissions on "emc-dev/docs/man" are wrong. Because mandb wants to read this 
dir and runs under a different user it can't access it and the whole 
compilation stops with an error.
As simple bugfix i "chmod 777 emc-dev/docs/man" and the compilaton works like a 
charm. :)

----------------------------------------------------------------------

>Comment By: Sebastian Kuzminsky (seb_kuzminsky)
Date: 2011-10-25 16:04

Message:
I could not reproduce this bug.

Git does not store permissions for directories.  The directories you get
when you check out have permissions determined exclusively by your umask.

The emc2 build system does not change uid before running mandb, it just
runs it as the user running "make".

On my Lucid and Hardy test machines, mandb is not installed with the suid
bit set, so it won't change uid by itself when you run it, it'll just run
as whomever invokes it.

I tried setting my umask to "0077", cloning the emc2 git repo, checking
out the 2.4 branch, and building it, and it worked.  So I'm at a loss here.
 Can you supply any more details on how to reproduce this bug?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3073475&group_id=6744

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to