LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   frustrating....rights change automatically (https://www.linuxquestions.org/questions/linux-networking-3/frustrating-rights-change-automatically-418990/)

raj000 02-24-2006 01:19 AM

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.

m0rg 02-24-2006 02:30 AM

I'm not sure about a samba share (but I guess this is the same) but widows file system (vfat which is the only writeable under linux AFAIK) doesn't handle permissions...

raj000 02-24-2006 11:49 PM

don't understand
 
sorry,

I don't seem to understand what you are trying to say. I wanna know why the permissions keep changing automatically...what is changing these permissions.


Thanks

raj000 02-25-2006 12:00 AM

solved
 
Ok,

I think i figured it out. It had to do with the "create mode" setting in my smb.conf file.

This was set to 775 for the share. I think changing this should do the trick.

Thanks anyway.


All times are GMT -5. The time now is 06:25 AM.