- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sh : permission denied
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
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
тАО01-22-2011 04:17 AM
тАО01-22-2011 04:17 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2011 07:53 PM
тАО01-22-2011 07:53 PM
Re: sh : permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2011 08:21 PM
тАО01-22-2011 08:21 PM
Re: sh : permission denied
Provide full permission appserv directory and oracle directory . check that issue.
Cheers/
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2011 10:33 PM
тАО01-22-2011 10:33 PM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 05:00 PM
тАО01-23-2011 05:00 PM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2011 10:34 PM
тАО01-23-2011 10:34 PM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2011 03:32 AM
тАО01-24-2011 03:32 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 03:57 AM
тАО01-25-2011 03:57 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 04:32 AM
тАО01-26-2011 04:32 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-26-2011 07:36 AM
тАО01-26-2011 07:36 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2011 10:07 PM
тАО01-28-2011 10:07 PM
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.