GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CIFS Excel timestamp problem
Operating System - HP-UX
1847177
Members
4743
Online
110263
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
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
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
05-22-2003 03:55 PM
05-22-2003 03:55 PM
CIFS Excel timestamp problem
From my searches, it looks like this one's been recognized
in Samba on and off for a while. There are two Samba bug
reports on this issue, 22126 and 22287, but it doesn't seem
like anyone is looking into a fix.
The issue is that when a Windows user opens a file on a CIFS
share with Excel (2k or XP are the only ones I've tested) and
the user is not the owner of the file (but does have write
perms), all three HP-UX side timestamps (mtime, ctime, atime)
will be changed even when the file is closed without issuing
a 'Save' or 'Save as'. If the user owns the file, the original
mtime will be preserved.
FWIW, I've noticed that when a file owned by a user other than the one
using Excel (2k and XP, from Win2k) is opened in Excel, the unix side
atime changes to reflect the access. It's not until the user closes
the file in Excel that the atime, mtime and ctime all change to reflect
the date/time of the closing of the file.
This is not an Excel auto-save issue. I appears to have something to
do with Excel creating a copy of the file on Open and then replacing
the original file with the copy on Close.
In our case, our Samba server is HP's CIFS/9000 (A.01.09.05), a Samba
2.2.x deriative, I believe.
Do HP's CIFS support people read this list? Does anyone else have
any ideas - other than requiring all users to look like the same user
to CIFS?
in Samba on and off for a while. There are two Samba bug
reports on this issue, 22126 and 22287, but it doesn't seem
like anyone is looking into a fix.
The issue is that when a Windows user opens a file on a CIFS
share with Excel (2k or XP are the only ones I've tested) and
the user is not the owner of the file (but does have write
perms), all three HP-UX side timestamps (mtime, ctime, atime)
will be changed even when the file is closed without issuing
a 'Save' or 'Save as'. If the user owns the file, the original
mtime will be preserved.
FWIW, I've noticed that when a file owned by a user other than the one
using Excel (2k and XP, from Win2k) is opened in Excel, the unix side
atime changes to reflect the access. It's not until the user closes
the file in Excel that the atime, mtime and ctime all change to reflect
the date/time of the closing of the file.
This is not an Excel auto-save issue. I appears to have something to
do with Excel creating a copy of the file on Open and then replacing
the original file with the copy on Close.
In our case, our Samba server is HP's CIFS/9000 (A.01.09.05), a Samba
2.2.x deriative, I believe.
Do HP's CIFS support people read this list? Does anyone else have
any ideas - other than requiring all users to look like the same user
to CIFS?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 04:05 PM
05-22-2003 04:05 PM
Re: CIFS Excel timestamp problem
1) There has been a recent security update.
CIFS/9000
Here is a link to the free software:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA
2) If the times on the two systems were synched off the same time server, this could not happen. At least I think not.
ntp stuff.
http://www.ntp.org/
Documentation
http://www.ntp.org/documentation.html
ntp is built into HP-UX and there is a valid time server linked on Dr. Mill's site that will let you set up a Microsoft based ntp server that will correctly update HP-UX.
SEP
CIFS/9000
Here is a link to the free software:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA
2) If the times on the two systems were synched off the same time server, this could not happen. At least I think not.
ntp stuff.
http://www.ntp.org/
Documentation
http://www.ntp.org/documentation.html
ntp is built into HP-UX and there is a valid time server linked on Dr. Mill's site that will let you set up a Microsoft based ntp server that will correctly update HP-UX.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2003 04:08 PM
05-22-2003 04:08 PM
Re: CIFS Excel timestamp problem
BTW, yes, HP has many people reading and participating in these forums.
If you have specific questions with regard to CIFS, you can post a question to the main itrc web site asking how to make contact.
I believe your issue may be caused by time inconsistencies on the two boxes, as my prior post should have said.
SEP
If you have specific questions with regard to CIFS, you can post a question to the main itrc web site asking how to make contact.
I believe your issue may be caused by time inconsistencies on the two boxes, as my prior post should have said.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2003 03:55 PM
07-19-2003 03:55 PM
Re: CIFS Excel timestamp problem
As I mentioned, we're running A.01.09.05, which
is as far as I can tell the most recent update
for CIFS. I installed it soon after it became
available, thanks to BugTraq.
The issue here is clearly not a matter of time
sync, the issue is that Excel is changing the
file's mtime despite the fact that the file was
only read, not written. And this happens only
when a user other that the file owner reads it.
The only way I can see to prevent this from
happening is to limit write perms to the owner,
but that doesn't play well in a cooperative
work environment.
We are also running ASU/9000 as the PDC on a
10.20 system and this problem does not occur
on those shares. But AS/U was derived from NT
Server source code licensed by AT&T.
FWIW, I've had xntpd or ntpd running on all
HP-UX, Linux and Windows hosts (from five-ten
s/w) since we phased out our old Apollo
workstations which were time sync'd with
timed. I might look for a crashed ntpd service
if the issue was a few seconds or minutes of
time difference, but not when a file that has
not been changed for months suddenly has a
current date/time after someone looks at it
with Excel.
Honestly, it appears that this is a problem in
the way Excel operates, but MS has shown for
a long time that MS isn't interested in making
their software more compatible with anything
but their software, unless there's a hook
which will eventually draw more customers into
the MS fold.
I believed that HP had some developers who were
contributing to the Samba project and I hoped
that maybe they would look into the issue,
since it doesn't seem to be getting any attention based on the two unresolved Samba
bug reports.
Doug
is as far as I can tell the most recent update
for CIFS. I installed it soon after it became
available, thanks to BugTraq.
The issue here is clearly not a matter of time
sync, the issue is that Excel is changing the
file's mtime despite the fact that the file was
only read, not written. And this happens only
when a user other that the file owner reads it.
The only way I can see to prevent this from
happening is to limit write perms to the owner,
but that doesn't play well in a cooperative
work environment.
We are also running ASU/9000 as the PDC on a
10.20 system and this problem does not occur
on those shares. But AS/U was derived from NT
Server source code licensed by AT&T.
FWIW, I've had xntpd or ntpd running on all
HP-UX, Linux and Windows hosts (from five-ten
s/w) since we phased out our old Apollo
workstations which were time sync'd with
timed. I might look for a crashed ntpd service
if the issue was a few seconds or minutes of
time difference, but not when a file that has
not been changed for months suddenly has a
current date/time after someone looks at it
with Excel.
Honestly, it appears that this is a problem in
the way Excel operates, but MS has shown for
a long time that MS isn't interested in making
their software more compatible with anything
but their software, unless there's a hook
which will eventually draw more customers into
the MS fold.
I believed that HP had some developers who were
contributing to the Samba project and I hoped
that maybe they would look into the issue,
since it doesn't seem to be getting any attention based on the two unresolved Samba
bug reports.
Doug
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
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP