[colug-432] Permissions Problem [Solved]

Stephen P. Molnar s.molnar at sbcglobal.net
Wed Oct 17 08:00:52 EDT 2012


On 10/17/2012 06:53 AM, Stephen P. Molnar wrote:
> On 10/16/2012 10:48 PM, Rick Hornsby wrote:
>> On Oct 16, 2012, at 15:01 , Stephen Potter <spp at unixsa.net> wrote:
>>
>>> On 10/16/2012 3:45 PM, Stephen P. Molnar wrote:
>>>> ./install_ecce.6.4.rehl5-gcc4.1.2-m64.csh
>>>>
>>>> i get a Permission denied message.
>>> Have you explored what the #! line is inside the script?  That's often the first place to look for issues.  I notice your script is named rehl, rather than rhel, could that be your issue?
>>>
>>> Also, have you tried running the script as "csh -x install_ecce.6.4.rhel5-gcc4.1.2-m64.csh" to have it echo each command as it tries to do it and see where the error might be?
>> Those are good things to check.  You should also check to make sure that the filesystem is not mounted with the noexec option.
>> _______________________________________________
>> colug-432 mailing list
>> colug-432 at colug.net
>> http://lists.colug.net/mailman/listinfo/colug-432
>>
> Thanks for the reply.
>
> Following your suggestion:
>
> computation at debian:/sde2/Apps$ csh -x PyRx-0.9-Linux-x86-Install
> M-h^Q^M^LM-;M^Y^UM-;M^Y^UT^AM-$^N^Z^C?M^QEM^Dh: Event not found.
> computation at debian:/sde2/Apps$
>
> I also tried:
>
> less /etc/mtab
> /dev/sda1 / ext3 rw,errors=remount-ro 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
> proc /proc proc rw,noexec,nosuid,nodev 0 0
> sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
> udev /dev tmpfs rw,mode=0755 0 0
> tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
> devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
> /dev/sdc1 /sdc1 ext4 rw,noexec,nosuid,nodev 0 0
> /dev/sdc2 /sdc2 ext4 rw,noexec,nosuid,nodev 0 0
> /dev/sde1 /sde1 ext4 rw,noexec,nosuid,nodev 0 0
> /dev/sde2 /sde2 ext4 rw,noexec,nosuid,nodev 0 0
> fusectl /sys/fs/fuse/connections fusectl rw 0 0
> binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
>
> and:
>
> less /etc/fstab
> # /etc/fstab: static file system information.
> #
> # Use 'blkid' to print the universally unique identifier for a
> # device; this may be used with UUID= as a more robust way to name devices
> # that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point>   <type> <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> # / was on /dev/sda1 during installation
> UUID=c9ff872d-eec5-46ad-824c-fc6d3de57494 /               ext3
> errors=remount-ro 0       1
> # swap was on /dev/sda5 during installation
> UUID=812fdf37-0af0-4b52-8bc2-7e58135fd801 none            swap
> sw              0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0 0
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> /dev/sdb1  /sdb1  ext3  user,defaults  0  2
> /dev/sdc1 /sdc1 ext4    user,defaults   0       2
> /dev/sdc2  /sdc2  ext4  user,defaults  0  2
> /dev/sdd1  /sdd1  reiserfs  user,defaults  0  2
> /dev/sdd2  /sdd2  reiserfs  user,defaults  0  2
> /dev/sde1 /sde1 ext4    user,defaults   0       2
> /dev/sde2 /sde2 ext4    user,defaults   0       2
>
> Are there ny clues here?
>
> Thanks
>
I stumbled into the solution by changing 'Disallow execution of 
binaries?' from 'Yes' to 'if mountable by users'.

Many thanks to thos who tried to help me.

-- 
Stephen P. Molnar, Ph.D.           Life is a fuzzy set
Foundation for Chemistry           Stochastic and multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1



More information about the colug-432 mailing list