- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- sh : permission denied
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
sh : permission denied
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2011 04:17 AM
01-22-2011 04:17 AM
sh : permission denied
sh : permission denied
We have the following Unix-version : B.11.31.
I have the following problem on mapping folder from Win 2003 server to HP-UX server
The permissions on the windows-machine is ok.
From HP-Unix I can access the directory as root, but not as user 'oracle'.
To mount the directory I did the following :
1.Made a new directory : /appserv and with chmod I gave it the maximum of permissions.
2.Changed the ownership of the dir
# chown oracle:oinstall /appserv
As a oracle user i can access/read the directory
3.Before mounting the dir, rights on the directory are the following
# drwxrwxrwx 2 root sys 131072 Jan 22 10:10 appserv
4. Once i issued the following below command for mounting as a root user
# cifsmount //server.domain.name/shared-dir /appserv -U username -P password
ownership is been reverted and when i tried to access the directory as a oracle user i am getting the below message
sh : appserv : permission denied
Even after going through the below steps, I am facing the same permission problem on reading the directory.
$ cifslogin -s username -P password
$ sh : appserv : permission denied
Will be really grateful and thankful if any one please help me out to resolve this issue.
Thanks & Best Regards,
Raoof
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2011 07:53 PM
01-22-2011 07:53 PM
Re: sh : permission denied
Re: sh : permission denied
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2011 08:21 PM
01-22-2011 08:21 PM
Re: sh : permission denied
Re: sh : permission denied
Provide full permission appserv directory and oracle directory . check that issue.
Cheers/
Taifur
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2011 10:33 PM
01-22-2011 10:33 PM
Re: sh : permission denied
Re: sh : permission denied
# ll -d
drwxrwxrwx 2 root sys 131072 Jan 23 09:28 /appserv
About permission on windows directory, it contains the full permission.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-23-2011 05:00 PM
01-23-2011 05:00 PM
Re: sh : permission denied
Re: sh : permission denied
After it was mounted?
Not that it should matter for a HP-UX FS, can you do this as oracle.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-23-2011 10:34 PM
01-23-2011 10:34 PM
Re: sh : permission denied
Re: sh : permission denied
Before mounting i changed the ownership to oracle and it is showing the owner as oracle user when i issued ll -d
# drwxrwxrwx 2 oracle oinstall 22084 Jan 24 9:30 appserv
but once i mount the directory the ownership is getting revert like on ll -d it display
# drwxrwxrwx 2 root sys 33783 Jan 24 9:32 appserv
I don't know why the ownership is getting revert?
after mounting when i try to access the mount point as oracle user i am facing the below error
sh : appserv : permission denied
Also i want to know what kind of permission the windows shared folder should have, i means to say full control or read/write or execute only?
Please need urgent help on this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-24-2011 03:32 AM
01-24-2011 03:32 AM
Re: sh : permission denied
Re: sh : permission denied
Mount as root, list as oracle.
>once I mount the directory the ownership is getting revert like on ll -d it display
>I don't know why the ownership is getting revert?
That's correct, when you mount, you obscure it based on what you mount.
>I try to access the mount point as oracle user I am facing the below error
sh : appserv : permission denied
What are you doing, "cd appserv"?
>I want to know what kind of permission the windows shared folder should have, I means to say full control or read/write or execute only?
Most likely full control if you want to read/write access. And I assume you need execute to search your folders?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-25-2011 03:57 AM
01-25-2011 03:57 AM
Re: sh : permission denied
Re: sh : permission denied
Windows folder has the full permission.
I tried for cd appserv and also cd /appserv, for both i am getting ther permission denied error.
Please its urgent.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-26-2011 04:32 AM
01-26-2011 04:32 AM
Re: sh : permission denied
Re: sh : permission denied
I am still facing the problem to access the mount point as oracle user.
Please help me to get rid out from the mention issue.
Thanks & Regards
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-26-2011 07:36 AM
01-26-2011 07:36 AM
Re: sh : permission denied
Re: sh : permission denied
Have you tried mount CIFS filesystems using /etc/fstab file and mount/umount commands?
This way offers you mount options, please refer to following document for detailed info, specially pag 32):
http://docs.hp.com/en/B8724-90022/B8724-90022.pdf
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-28-2011 10:07 PM
01-28-2011 10:07 PM
Re: sh : permission denied
Re: sh : permission denied
No experts here to solve my problem? Since from last week i am struggling to solve my issue but still i cannot.
Please dears/experts try to help me to solve my issue.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP