How can users read a PDF on a Windows network, without file locking

An office associate regularly updates a calendar PDF on a shared windows network drive. This calendar is referenced throughout the day by many of the 20-40 staff on the network, often leaving this file open in their Acrobat Readers for hours on end.

If the file is open anywhere, it cannot be updated by the publishing user, due to a file lock. This means a hunt around the office, and email broadcasts to close the @#$% PDF!

What user or network admin actions would you suggest so we don't need to send/receive these uncomfortable emails?

Some details: * Windows network shares, which we all have mounted as a drive letter * I believe the servers are Linux/Unix running Samba (rather than Windows server software) * Mostly XP clients, and pretty locked-down. Desktop client changes mean support visits every workstation.

Thanks.


Solution 1:

If slartibartfast's answer isn't feasible for you for some reason (like not wanting to set up your first-ever intranet web server...), consider the following.

If the file server is based on Unix/Linux/MacOSX using Samba: Create a shared network directory that is read/write for the publishing user(s). Let's name the share pdf-rw, and one of the publishing user(s) pdfpublisher. In Samba's config file smb.conf set this up like this:

[pdf-rw]
  comment = Writeable for pdfpublisher(s) only (and not browseable for users)
  path = /path/on/unix/system
  browseable = no
  writeable = no
  write list = pdfpublisher, domainname\\who.ever, onemoreuser
  guest ok = no

Create another shared network directory that is readonly for everybody else. Let's name the share pdf-ro. In Samba's config file smb.conf set this up like that:

[pdf-ro]
  comment = Read-only for users (as well as browseable)
  path = /path/on/unix/system
  browseable = yes
  writeable = no
  guest ok = yes
  map to guest = bad user

The trick is to define 2 different share(name)s with 2 different settings:

  • the readonly share is also browseable and even accessible for guest users without a password (and may be mapped as a network drive if you want);
  • the read/write share is hidden and does not appear in the network neighbourhood (it can be accessed if you know the \\servername\pdf_rw UNC path, plus if you know how to provide one of the named users' credentials; it may also be mapped to a network drive).

If the file server is based on Windows: Pick one of the suggestions made by other users and test if it works for you.


Big caveat:

Be aware that any update to the PDF document by the publisher will not be automatically noticed by the clients. Depending on their PDF viewer software + version, they may still see the old version of the file unless they re-load it.

Solution 2:

Publish the document on a web server. The editor edits it there. The readers have lockless access with a commonly available client (IE, Firefox, Chrome, Safari, etc. etc. etc.)

Oh, and I feel dirty for suggesting this, so you're welcome. :)