Re: Fw: Permission Denied error - what am I missing?

Keith Bainbridge <[email protected]> Mon, 17 Jul 2006 13:46:28 -0400
Newsgroups gmane.org.user-groups.mlug.main
Organization Self
Message-ID <[email protected]>
G'day "J. Mark Campbell" 

and thanks

Don't know how i did this, but adding 'exec' to my /home in fstab, and remount it has allowed the scripts to run


Thanks.



On Mon, 17 Jul 2006 13:17:54 +1000
"J. Mark Campbell" <[email protected]> wrote:

> Hi Keith
> It seems like some "event" has occurred for previously running scripts
> to just stop working.
> Have you made any changes to your system or users recently?
> You couldn't have somehow made your /home dir noexec or something?
> Think about any changes you have made and what effect they might have
> inadvertently had.
> 
> Regards,
>  
>  
> J. Mark Campbell
> www.ozlan.com
>  
> Ph: 0405 356 136
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Keith Bainbridge
> Sent: Tuesday, 18 July 2006 3:00 AM
> To: mlug
> Subject: [MLUG] Fw: Permission Denied error - what am I missing?
> 
> 
> G'day
> 
> An additional bit - this error happens with other scripts as well - all
> of them used to work.
> 
> 
> Begin forwarded message:
> 
> Date: Mon, 17 Jul 2006 12:57:10 -0400
> From: Keith Bainbridge <[email protected]>
> To: mlug <[email protected]>
> Subject: Permission Denied error - what am I missing?
> 
> 
> G'day All,
> 
> Having trouble getting a script to run - it has run well for weeks until
> a few days ago.
> 
> >From
> keith@box4:/tmp$
> I type & tab to complete:
> /home/keith/data/keithStuff/scripts/2hours10data.sh
> 
> The response is alomost instantaneous:
> bash: /home/keith/data/keithStuff/scripts/2hours10data.sh: Permission
> denied
> So:
> keith@box4:/tmp$ sudo
> /home/keith/data/keithStuff/scripts/2hours10data.sh
> sudo: unable to execute
> /home/keith/data/keithStuff/scripts/2hours10data.sh: Permission denied
> 
> again instantaneous
> 
> To check that I should be able to run the script: keith@box4:/tmp$ ls -l
> !$ ls -l /home/keith/data/keithStuff/scripts/2hours10data.sh
> -rwxr-xr-x 1 keith keith 1394 Jul 17 12:50
> /home/keith/data/keithStuff/scripts/2hours10data.sh
> keith@box4:/tmp$
> 
> If I copy & paste teh contents of the script into a knosole, everything
> is fine.
> 
> What have I missed?  please.
> 
> -- 
> Thanks and kind regards
> 
> 
> Keith Bainbridge
> PO Box 324
> BELMONT  Vic   3216   Australia
> +613 5241-1881
> [email protected]
> [email protected]
> 
> 
> -- 
> Thanks and kind regards
> 
> 
> Keith Bainbridge
> PO Box 324
> BELMONT  Vic   3216   Australia
> +613 5241-1881
> [email protected]
> [email protected]
> 
> _______________________________________________
> Melbourne Linux Users Group (Australia)
> Edit your settings: http://lists.mlug.org.au
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date:
> 10/07/2006
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date:
> 10/07/2006
>  
> 


-- 
Thanks and kind regards


Keith Bainbridge
PO Box 324
BELMONT  Vic   3216   Australia
+613 5241-1881
[email protected]
[email protected]