- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Permission Is Denied. I'm clueless. Please helpp
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
Forums
Discussions
Discussions
Discussions
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
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
11-21-2007 11:49 AM
11-21-2007 11:49 AM
Permission Is Denied. I'm clueless. Please helpp
Our user hit this error when she execute her ./profile
# /.profile
sh: /.profile: Execute permission denied
I've given the right to this user. I've changed the owner to her also. Her id is ssicis
the right given is:
drwxr-x--x 2 ssicis users ssicis
Hope to hear from you
Finas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 12:36 PM
11-21-2007 12:36 PM
Re: Permission Is Denied. I'm clueless. Please helpp
the id also unable to ftp. how can i allow the ftp to this id???? we was unable to ftp, and we have copied the .profile manually. i think if we are able to copy original .profile, i hope the problem will resolve. hope to hear from you the ftp right????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 12:56 PM
11-21-2007 12:56 PM
Re: Permission Is Denied. I'm clueless. Please helpp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 12:58 PM
11-21-2007 12:58 PM
Re: Permission Is Denied. I'm clueless. Please helpp
># /.profile
This looks like you are trying to execute root's .profile? And with the "#" as root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 01:11 PM
11-21-2007 01:11 PM
Re: Permission Is Denied. I'm clueless. Please helpp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 01:15 PM
11-21-2007 01:15 PM
Re: Permission Is Denied. I'm clueless. Please helpp
example:-
# ll -d /home/andrew
drwxr-xr-x 3 andrew users 1024 Oct 8 11:38 /home/andrew
# ll /home/andrew/.profile
-r--r--r-- 1 andrew users 439 Nov 14 2000 /home/andrew/.profile
#
Why you need to execute .profile, if the user can login into her account, means it is working fine.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 01:42 PM
11-21-2007 01:42 PM
Re: Permission Is Denied. I'm clueless. Please helpp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 03:46 PM
11-21-2007 03:46 PM
Re: Permission Is Denied. I'm clueless. Please helpp
the .profile is just a script with instruction mostly related to setup the environment for the user's shell.
The need to run the .profile arises only if one wants to set the environment variables.
For the DBA, it would be wiser to setup these variables by modifying one's script or using a custom script.
good luck!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 04:15 PM
11-21-2007 04:15 PM
Re: Permission Is Denied. I'm clueless. Please helpp
This refers to the ".profile" file on the "root" user. Is this what you wanted to execute?
Also, the user's .profile is executed automatically during login. If you make changes to it and what it to reflect in the currect session, then you 'source' it using:
# . ./.profile ;from the user's home dir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 04:31 PM
11-21-2007 04:31 PM
Re: Permission Is Denied. I'm clueless. Please helpp
your typos mistakes
#./.profile
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 05:21 PM
11-21-2007 05:21 PM
Re: Permission Is Denied. I'm clueless. Please helpp
For user ssicis its profile file would be in
~ssicis/.profile directory.
So i suppose you will have to run
#. ~ssicis/.profile (remember the space)
or
$ cd ~ssicis
$sh .profile ./profile
hopw this help.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 07:47 PM
11-21-2007 07:47 PM
Re: Permission Is Denied. I'm clueless. Please helpp
The answer to me looks simple , just run
# chmod 755 /.profile
and try again ....
Ofcourse its a different issue why you want to run .profile etc , it should have already been run when you login ....
also a better way of running it is
# . /.profile [ ie the values are for the current shell ! ]
Regards,
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2007 09:49 PM
11-21-2007 09:49 PM
Re: Permission Is Denied. I'm clueless. Please helpp
When user login its automatically execute its .profile.
If its related to database then set the database environment to her profile then logout and login.
Jeesun