Apps :: Monkey problem.



But that's not my problem. My problem is that symlinks to files won't work. ;(

Anyways I did this:
Code Sample
sudo mount -o remount,owner=dsl,mode=0755,uid=dsl,gid=staff /mnt/hda10

Same result as before. :(

I was able to get a symlink to a file to work, but only when I created the link in my home directory first and then copied the link into the /opt/monkey/htdocs directory with the cp command.

Try creating the symlink in your /home/dsl directory and then copying it into the /opt/monkey/htdocs directory.  It worked for me when I did that but not when I created the link in the /opt/monkey/htdocs directory directly.  I don't know why.

I have already set my webserver root to /home/dsl/www/... But I'll try that.
Won't work. It still gives me forbidden status.  :angry:
Zucca, I missed before that the error you're seeing is "Forbidden" and not "Not found."  I think I understand now.  You're trying to run a script, right?  And the script gets loaded from the FAT partition?  If that's the case, then it's not the owner that's the problem but that the executable bit isn't set.  I don't think your mode=0755 option is doing the trick.  Try using the umask=000 option in mount along with the other switches you used and that may help:

mount /dev/hda10 /mnt/test -o uid=dsl,gid=staff,exec,umask=000

The numbers in umask are the opposite of what chmod command uses, the bits that are on remove priveledges instead of adding them.  So if you wanted the equivelant to a 755 from chmod, use 022 in umask:

sudo mount -o uid=dsl,gid=staff,exec,umask=022 /dev/hda10 /mnt/hda10

I don't trust the "remount" switch, I found I had to use umount and the mount again to get the changes to take effect.  I also dont think the mode=0755 did what you wanted it to.

Good luck.

Next Page...
original here.