1

1

I just started a fresh install of FogBugz 8 on a Linux box (RHEL 5). I have created a new user fogbugz with the usual useradd command and I've confirmed that this user can log in. I have also created a test.sh script in the user's home directory, chmodded it to 755, and was able to run it.

But when I run the install script, I get the following result:

Which user should FogBugz run as? [fogbugz] -bash: /tmp/fbtest.sh: Permission denied ERROR: User fogbugz was unable to run a test script. Is this account disabled?

I've checked the file /tmp/fbtest.sh and it is set to 755. If I log in as fogbugz and cd into /tmp, ./fbtest.sh also gives me a permission denied.

Can anyone think of a reason why my fogbugz user can't run this script?

Thanks!

flag

1 Answer

3

After some research, I discovered that /tmp had been mounted with a 'noexec' option, making it impossible for normal users to execute any scripts from /tmp. After removing that restriction, FogBugz installed normally.

After talking to Rackspace, they told me that it's quite common for /tmp to be mounted with noexec. So it might be a good idea to change this part of the FogBugz installer to run that test script from a different location.

Thanks!

link|flag
thanks for the suggestion, I have opened a case! – adambox Oct 18 2010 at 16:50
Quick link for remounting /tmp/ with exec: linuxquestions.org/questions/linux-general-1/… – Brian Campbell Feb 8 2011 at 22:14
Thanks for the quick link. I have to do this every time I upgrade my Fogbugz install. – txblaser Mar 29 at 22:21

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.