HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: samba
Operating System - HP-UX
1826414
Members
4253
Online
109692
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
06-05-2008 11:44 AM
06-05-2008 11:44 AM
hi all
i have a samba share that the user copies new data to every week. the problem is once in while windows says cant cp or mv because file being used. is there a way (other than shutting samba down) to keep the users off, but samba up so they can do their cp and pastes?
thx in advance
i have a samba share that the user copies new data to every week. the problem is once in while windows says cant cp or mv because file being used. is there a way (other than shutting samba down) to keep the users off, but samba up so they can do their cp and pastes?
thx in advance
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 01:30 PM
06-05-2008 01:30 PM
Re: samba
Try using fuser or lsof (on the HP-UX system)
to learn who is using the busy file? (Or
will that just say Samba?)
to learn who is using the busy file? (Or
will that just say Samba?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 01:59 PM
06-05-2008 01:59 PM
Solution
do a /opt/samba/bin/smbstatus and see who has the file locked (assuming it is another Samba user). If you want to have users overwrite each other's files, then just disable locking - "/opt/samba/bin/testparm - v -s | grep lock" and then go to smb.conf and turn off the locking parms. Keep in mind that Samba is doing exactly what it is supposed to - protecting your users from overwriting each other by locking the files.
If you want to lock out users from the share, use the "valid users" option on the share definition in smb.conf. If you want to specify read-only for some users, set the file permissions.
Eric
If you want to lock out users from the share, use the "valid users" option on the share definition in smb.conf. If you want to specify read-only for some users, set the file permissions.
Eric
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP