The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Awk - to test multiple files "read" permission ? lokiman Shell Programming and Scripting 1 02-09-2008 08:10 AM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-19-2007 09:52 PM
screen throws "permission denied" miechu Shell Programming and Scripting 6 10-24-2006 06:17 PM
Unix "at" / "Cron" Command New Problem...Need help Mohanraj UNIX for Dummies Questions & Answers 3 01-26-2006 04:08 PM
Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour sameerdes UNIX for Advanced & Expert Users 1 08-28-2002 05:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2004
Registered User
 

Join Date: Jul 2004
Posts: 1
Stumble this Post!
Question simple Unix Execute permission for "others"

netjk@rediffmail.com

I have a Shell Script (wrapper) that gathers parameters and invoke a base script (lets say B1). I have set the permission for this script as 711 (execute for everyone, group). When a user from another group try to execute the script, permission is denied (Cannot open file..)

Is there any known problem in unix? I am puzzled. (beginner)


-rwx--x--x 1 u93359 studnts 974 May 27 16:26 mc125dryrun

-rwx--x--x 1 u93359 studnts 1092 Jun 4 15:24 mc125prod

-rwx--x--x 1 u93359 studnts 821 May 27 16:26 mc1288dryrun

-rwx--x--x 1 u93359 studnts 810 Jun 4 15:27 mc1288prod

Unless I give Read access to the "others" they are not able to execute.

Thanks & appreciate your help.

Last edited by jsudha; 07-26-2004 at 01:57 PM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-26-2004
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
Stumble this Post!
if a user dosnt have read permission, they wont be able to execute the file either, even if they do have execute permissions. they have to be able to read it to execute it.

add those users to the group, or make the file readable by "others".
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0