Re: Unable to execute a script , Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 25 May 2010 13:27, Jatin Davey <jashokda@xxxxxxxxx> wrote:
> Hi
>
> I have a linux box which has CentOS running in it. I logged into the box
> using root and wrote a script in the /home/proc_threads directory. saved
> the file and quit. I changed the file permissions such that any user
> could execute it using the "chmod 777 filename" command.
>
> When i log out and log in as a non-root user i was not able to execute
> the script though.
>
> Could some one please help in this regard. I am a newbie to linux.
>
> Thanks
> Jatin
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

1) Does the non-root user have access to the /home/proc_threads directory?
2) Is your home partition mounted noexec?

James
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux