clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Oct. 06 2006,18:59 |
|
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.
|