- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: error while using pam_mount
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
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
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-26-2009 04:16 AM
03-26-2009 04:16 AM
my test environment:
e.g user4 has access to a shared drive (everyone) on the windows file server (residing on the DC itself).
the user is able to create files and folders on the shared folder BUT is not able to edit n save the text files on the shared drive.
the image contains the error i get while i try to save the edited file residing on the shared windows drive.
http://img205.imageshack.us/img205/9006/pammount.jpg
what could be the reason?
interesting i just noticed that if i open those text files in open Office the users are able to edit and save the existing files on the shared drive. the error pops up only when i use gedit.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2009 07:46 AM
03-26-2009 07:46 AM
Re: error while using pam_mount
Also, check the share and NTFS permissions on the Windows server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2009 08:08 AM
03-26-2009 08:08 AM
Re: error while using pam_mount
there is no error whatsoever when i create a file on the shared folder on the windows server.
i can create a file through vi,touch, gedit or Open Office. the file gets created fine.
when i edit a file through open office or vi, i am able to edit the file and save it back to the disk.
its only when i open an EXISTING text file through gedit, i get this error.
strangely it happened with RHEL as well.
any clues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2009 11:10 AM
03-26-2009 11:10 AM
Re: error while using pam_mount
What is the output of
id
ls -la
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2009 10:44 PM
03-26-2009 10:44 PM
Re: error while using pam_mount
thanks for your reply :)
as i had told you i face this issue only when i use gedit to edit the files. i dont get the error when i am use gedit to create the text files.
permissions-wise i dont see an issue.
DOM1\user4@sled1:~/share2> id
uid=10001(DOM1\user4) gid=10000(DOM1\domain users) groups=10000(DOM1\domain users),10002
DOM1\user4@sled1:~/share2> ls -l sample.txt
-rwxrwSrwx 1 DOM1\user4 DOM1\domain users 26 2009-03-27 12:10 sample.txt
DOM1\user4@sled1:~/share2>
using vi or open office i am able to create or edit he files. only when i use gedit this problem arises.
am i being clear? should i explain it in a better way.
thanks :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2009 11:27 AM
03-27-2009 11:27 AM
SolutionGedit opens a file, moves the original file to a backup file while keeping the file open, and finally deletes the backup file if you choose not to keep backups.
The rename method sets errno = ETXTBSY, so moving the original file fails.
There was a plugin that can solve the problem, but the site is not available anymore:
http://chrisnicholls.ca/code/gedit-plugins
This plugin moves the original file to a temporary directory. If you can find the plugin, you probably will solve the problem.
And please remember to assign poins to the answers you get. See:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2009 11:56 AM
03-27-2009 11:56 AM