Hi Clanyon,

> > That would help to have the precise output of the commands.
> 
> When I try
> chmod +x config.sh
> there is no output.
> When I try
> ./config.sh
> I get bash: ./config.sh: Permission denied
> When I run the same commands as root the same thing happens.
> 
> 
> ls -l config.sh
> -rw------- 1 claynon claynon 2131 Fev  7 11:25 config.sh

I'd guess that your umask is preventing the executable bit from being set.

What does the output of the command "umask" show?

I'm guessing that you're going to see: 0177
You'd need to do:

umask 0077

in order for chmod +x to work. Normally umask isn't this restrictive. Typical 
systems set it to 0002 or 0022.

After running umask 0077 rerun umask and verify that the setting changed.

To make this persist, I'd put it in your ~/.bashrc

See http://en.wikipedia.org/wiki/Umask for more information.

Dave Hylands
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to