I have a macro file that execute from a windows client: -rwxrwxrwx 1 ewood ewood 4800 Dec 1 08:33 ptmerge.wcm If another windows clients executes this file, they *take* ownership of it and the permissions change: -rwxr--r-- 1 rbinnick rbinnick 4800 Dec 1 08:35 ptmerge.wcm I don't care about ownership but I need the permission of the file to remain 777. Currently I have: [letters] comment = WordPerfect Form Letters path = /wp80/osas/letters/ browsable = yes writable = yes read only = no public = yes create mask = 744 force create mode = 744 directory mask = 755 force directory mode = 755 delete readonly = no oplocks = False level2 oplocks = False I tried the unix sticky bit but that didn't help. I need some kind of directive that tells same to "preserve original permissions". Is there one? thanks, -eric wood
Michael Lueck
2004-Dec-01 18:40 UTC
[Samba] Re: Samba changes permissions on an executed file
Is not your create mask settings what the file updates to? Notice the timestamp on the file changes. It looks like WP does this in such a way that Samba thinks a new file is being written thus sets the owner and create mask is applied. Most annoying. Do you actually need the execute bit set on a WordPerfect macro? In my mind that should act like a data file that WP works with... or is this WP for Linux and you can associate the .WCM files with WP somehow? (Though I use WP I am on WPWin 10/12) -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly.
Reasonably Related Threads
- How can I read registry values?
- 3 commits - libswfdec/swfdec_player.c test/trace
- SAMBA-3.2.4 for Solaris SPARC 9: ld.so.1: net: fatal: libtalloc.so: open failed: No such file or directory
- WordPerfect for Windows 6.1 CORRECTION
- No IVR audio. Jump in RTP sequence number