- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: folert Permissions ...can not execute file..
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 12:37 AM
тАО03-13-2008 12:37 AM
folert Permissions ...can not execute file..
here is /etc/passwd:
root:x:0:1:Super-User:/:/bin/bash
newuser:x:60106:1:testtest:/export/home/newuser:/bin/sh
but this newuser can not execute any on scripts in directory but I put as root 777 Permissions to that directory..still not working..
any help...:(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 01:03 AM
тАО03-13-2008 01:03 AM
Re: folert Permissions ...can not execute file..
Please login with newuser and cd to directory that you create script file. If newuser cannot please check directory permission. If it can cd to that directory run ./<script_file>. let me know error mesg if it failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 01:10 AM
тАО03-13-2008 01:10 AM
Re: folert Permissions ...can not execute file..
you also need at least 555 permissions to the scripts inside the directory.
Also are there other scripts inside the scripts?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 01:11 AM
тАО03-13-2008 01:11 AM
Re: folert Permissions ...can not execute file..
echo testtest> /export/home/newuser/User.cron
cd works perfect..but if I want to execute it I get:
./test.tmp: /export/home/newuser/User.cron: Permission denied
I guess it can not write file into directory..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 01:38 AM
тАО03-13-2008 01:38 AM
Re: folert Permissions ...can not execute file..
>script (test.tmp) is simple:
>echo testtest> /export/home/newuser/User.cron
>
>./test.tmp: /export/home/newuser/User.cron: >Permission denied
So check the permissions of /export/home/newuser/User.cron
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 02:51 AM
тАО03-13-2008 02:51 AM
Re: folert Permissions ...can not execute file..
User.cron is a file that can not be created by that script into certani directory..
I do not know why..
Or more clear what should I do with root created directory in order to be able to write into it certain user created files..
and how?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 03:30 AM
тАО03-13-2008 03:30 AM
Re: folert Permissions ...can not execute file..
you have to open permissions for these directories - the better solution would be to open permissions for a certain group and to assign the needed users to this group.
So you don't have to open permissions for the 'world'.
Can you create a file in this directory by 'touch'?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 04:04 AM
тАО03-13-2008 04:04 AM
Re: folert Permissions ...can not execute file..
touch: tempFILE cannot create
$
right...can not create file in directory..:(
how to enable this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 04:51 AM
тАО03-13-2008 04:51 AM
Re: folert Permissions ...can not execute file..
Which group does newuser is in?
V.
*BTW. - you should work on your points assignment rate:
You have assigned points to 91 of 240 responses
http://forums11.itrc.hp.com/service/forums/pageList.do?userId=CA1394601&listType=unassigned&forumId=1 *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 05:04 AM
тАО03-13-2008 05:04 AM
Re: folert Permissions ...can not execute file..
The first thing you should immediately do is change this back to the proper shell:
root:x:0:1:Super-User:/:/sbin/sh
Root can't have any other shell but this one. If you insist, you can execute your favorite shell once you login.
>./test.tmp: /export/home/newuser/User.cron: Permission denied
To find the permission problem you need to do:
$ id
$ ll /export/home/newuser/User.cron
$ ll -d /export/home/newuser /export/home /export