[Samba] Problems when saving AutoCAD files

Gaiseric Vandal gaiseric.vandal at gmail.com
Thu Jun 20 15:31:59 MDT 2013


Is this on all saves ?  Can you do a save as and create a new doc?

I had an issue with Office 2003 on Samba 3.0.x , Solaris 10 with ZFS 
file system.    For the 1st 6 saves  the MS app would modify the file.  
Every 7th (?)  save MS would delete the file and write a new one.   The 
probably would be that MS would try set file permissions-  most apps 
would just let the OS handle the file permissions.      Users had the 
appropriate permissions to create and delete files but not modify ACL's.

This had not been an issues with the older UFS file system.   In terms 
of how samba and UFS played together, the unix file perms were the 
classic ugo / rwx.   the ZFS acl's are closer to the Windows ACL's than 
UFS ACL's were.


I am guessing if Autocad is the only app affected then autocad is trying 
to write out some more complex file permissions.         I haven't 
worked with samba 4.   Can you adjust acl options in samba config?


On 06/20/13 17:15, Santiago Pestarini wrote:
> 2013/6/14 Santiago Pestarini <santiagonob at gmail.com>:
>> Hi!
>> I was searching for info about this issue and found almost nothing.
>> So, let's go directly to the matters...
>>
>> - Problem:
>> AutoCAD says "You do not have permission to save to this location."
>> when trying to save the file in the samba share dir.
>> (This problem only occur with AutoCAD.)
>>
>> - Scenary:
>> Running AutoCAD in a WinXP/Win7 PC, opening a DWG AutoCAD file from
>> samba share dir in Zentyal Linux server.
>>
>> I have Samba 4.0.5 running in my Zentyal 3.0.21, both recently updated.
>>
>> - smb.conf contents:
>> [global]
>>      workgroup = ESTUDIO
>>      realm = ESTUDIO.LAN
>>      netbios name = zentyal
>>      server string = Zentyal File Server
>>      server role = dc
>>      server role check:inhibit = yes
>>      server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl,
>> winbind, ntp_signd, kcc, dnsupdate
>>      server signing = auto
>>
>>      interfaces = lo,eth0
>>      bind interfaces only = yes
>>
>>      log level = 3
>>      log file = /var/log/samba/samba.log
>>
>>      guest ok = yes
>>      map to guest = bad user
>>      guest account = nobody
>>      auth methods = guest sam_ignoredomain
>>
>>
>> [profiles]
>>      path = /home/samba/profiles
>>      browseable = no
>>      read only = no
>>
>> [netlogon]
>>      path = /opt/samba4/var/locks/sysvol/estudio.lan/scripts
>>      browseable = no
>>      read only = yes
>>
>> [sysvol]
>>      path = /opt/samba4/var/locks/sysvol
>>      read only = no
>>
>> [homes]
>>      comment = Directorios de usuario
>>      path = /home/%S
>>      read only = no
>>      browseable = no
>>      create mask = 0611
>>      directory mask = 0711
>>      vfs objects = acl_xattr full_audit scannedonly recycle
>>
>> # Shares
>> [expedientes]
>>      comment = Expedientes
>>      path = /home/samba/shares/expedientes
>>      browseable = Yes
>>      read only = No
>>      force create mode = 0660
>>      force directory mode = 0660
>>      vfs objects = acl_xattr full_audit scannedonly recycle
>>
>> ----
>>
>> Also read this where Autodesk "wash their hands", blaming the server,
>> the client, the network, etc:
>> http://forums.autodesk.com/t5/Installation-Licensing/Unable-to-save-drawing/td-p/72075
>>
>> Please Help!
> What about this?
> Did I make some mistake in my question?
> Please, can someone throw me anything?
>
> I really need some help...



More information about the samba mailing list