frustrating....rights change automatically
Hi guys,
I am using a windows accounting package and am storing the data files of this accounting package on a samba share.
/home/user/application_data
This data folder contains several files that the windows accounting package writes to. Following is an example -:
-rwxrw---- 1 accounts accounts 3712 Feb 24 12:20 CmpSave.500
-rwxrw---- 1 accounts accounts 3712 Feb 24 12:20 Company.500
-rwxrw---- 1 accounts accounts 0 Feb 23 13:07 Exclusv.TSM
-rwxrw---- 1 accounts accounts 326272 Feb 24 12:20 Manager.500
-rwxr--r-- 1 accounts accounts 85760 Feb 24 12:20 MsgKeep.TSM
-rwxr--r-- 1 accounts accounts 128 Feb 23 13:02 MsgRead.TSM
I keep changing the file permission to 777 using the chmod -r command...however, somehow these permissions keep getting changed.
Particularly problematic is the file permission for the file MsgKeep.TSM and MsgRead.TSM. Since the write permission for the group has been removed, none of the other group members can access this data.
Can anyone help...thanks in advance.
|