LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2006, 01:19 AM   #1
raj000
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Rep: Reputation: 0
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.
 
Old 02-24-2006, 02:30 AM   #2
m0rg
Member
 
Registered: Jun 2003
Location: France
Distribution: slackware 11.0
Posts: 80

Rep: Reputation: 15
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...
 
Old 02-24-2006, 11:49 PM   #3
raj000
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 02-25-2006, 12:00 AM   #4
raj000
LQ Newbie
 
Registered: Jan 2006
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Time automatically in linux juanb Linux - Software 5 09-24-2005 06:20 AM
FOLDER permissions change automatically Echo Kilo Linux - Newbie 5 08-21-2005 03:09 AM
how can auser change rights? monc Linux - Networking 1 06-23-2004 09:11 AM
time doesn't change automatically ashley75 Linux - General 2 10-27-2003 10:05 AM
Frustrating PlanetNEO Linux - Networking 24 12-09-2002 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration