- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cifs mountpoint permissions?
Operating System - HP-UX
1756613
Members
2796
Online
108848
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-15-2004 05:56 AM
04-15-2004 05:56 AM
cifs mountpoint permissions?
I want to add a cifs mountpoint to fstab for use by a non-root user. I can get the mountpoint to work fine - except that a non-root user can't access it. Help???
The permissions on the directory where the share will be mounted (and on all parent directories) are 555. When I mount the share there and then ls -lad the mountpoint as root, it shows up mode 777. When I try exactly the same ls -lad as a non-root user, it says "/mountpoint not found". (Where "mountpoint" is actually /home/tgfurnis/moo in this case.)
If I actually try to cat a file that I know exists on the windows server using a non-root account, I get the following:
$ cat /home/tgfurnis/moo/bob.txt
NFS lookup failed for server hqtgfurnish1: RPC: Remote system error
cat: Cannot open /home/tgfurnis/moo/bob.txt: I/O error
The remote windows system logs nothing in its event logs. In fact, a network sniff shows that the 'cat' command did not even cause any network traffic between the two machines, so this problem is entirely within my cifsclient set-up on the hpux box.
I'm stumped. Please help...
The permissions on the directory where the share will be mounted (and on all parent directories) are 555. When I mount the share there and then ls -lad the mountpoint as root, it shows up mode 777. When I try exactly the same ls -lad as a non-root user, it says "/mountpoint not found". (Where "mountpoint" is actually /home/tgfurnis/moo in this case.)
If I actually try to cat a file that I know exists on the windows server using a non-root account, I get the following:
$ cat /home/tgfurnis/moo/bob.txt
NFS lookup failed for server hqtgfurnish1: RPC: Remote system error
cat: Cannot open /home/tgfurnis/moo/bob.txt: I/O error
The remote windows system logs nothing in its event logs. In fact, a network sniff shows that the 'cat' command did not even cause any network traffic between the two machines, so this problem is entirely within my cifsclient set-up on the hpux box.
I'm stumped. Please help...
Hockey PUX?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 09:06 PM
04-15-2004 09:06 PM
Re: cifs mountpoint permissions?
Hi Trever,
There are a couple of ways round this. You could use the cifslogin command for the non-root user to authenticate them against the share's server, or you could use the guestUser config parameter which allows any user who hasn't authenticated against the server to use the mountpoint as a guest. Take a look at the "Configuration Variables" section of the Installing and Administering CIFS/9000 Client manual for info on guestUser.
regards,
Darren
There are a couple of ways round this. You could use the cifslogin command for the non-root user to authenticate them against the share's server, or you could use the guestUser config parameter which allows any user who hasn't authenticated against the server to use the mountpoint as a guest. Take a look at the "Configuration Variables" section of the Installing and Administering CIFS/9000 Client manual for info on guestUser.
regards,
Darren
Calm down. It's only ones and zeros...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP