[Samba] How do I get a literal '%' in smb.conf

Michael J. Wetmore MJW at peirce.com
Wed Jun 8 14:06:31 GMT 2005


I have an AIX 5.2 system running samba 2.2.0

I have a directory /FIX010/%prt that I want to share.  There is a
symlink, /FIX010/pq to it.  The path statement in smb.conf points to
/FIX010/pq, and this used to work, but with the current version of samba
the directory is seen as empty, and logging at level 3 shows an access
denied error.

I have tried 'path = /FIX010/%%prt' and 'path = /FIX010/\%prt' and also
including a file with the path statement.  That %p keeps getting
expanded.  (%p is empty).

Unfortunately there are many programs in the system that look for %prt.
I have considered renaming the directory and making %prt a symlink to
it, but I am concerned about breaking something else.

Any ideas will be appreciated.

Thanks

Michael Wetmore
 


More information about the samba mailing list