Page 1 of 1

UNIX file modification

Posted: Wed Nov 20, 2002 2:08 am
by Brett Norris
Hi,

I've been using TextPad 4.5.0 modifying files on our Sun Solaris server using Samba 2.0.7 for a while now, everything has been work fine. I've recently upgraded to Samba 2.2.2.

When I create a new file on the UNIX machine it gets a set of default UNIX permissions (rw-rw-r--), when modify a file on the UNIX system using TextPad the permissions always get set back to the original create permissions.

e.g.
1. Create new file, permissions are rw-rw-r--
2. Modify permissions to rw-r--r--
3. Modify file with TextPad and save, permissions reset to rw-rw-r--

I've been using the "Overwrite original files directly, when saving changes" option in TextPad, but this no longer seems to have an effect. So, I read the help, it said that this option is ignored for FAT file systems. This should be fine, because Samba is configured to report that it is NTFS.

I'm wondering if anyone knows what else affects this option or how I can tell if this option is actually being used? I know its probably a configuration problem with Samba, but I need some info on how TextPad uses this overwrite option.

BTW - NotePad doesn't modify the file permissions when saving.

Thanks.