MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

okay i have about 100mb of accounts files sat on a windows server replacement samba box ( mandrake 9.1 with samba 3 )

the box is working fine with samba and what have you, however the company uses a popular account package called SAGE. Now if i go do a chmod 777 on all the data files ( chmod -R 777 /company/accounts ) the system runs fine all day.

when the users come to use the system in the morning all the permissions have been nocked back to nothing ( just read ), and the program requires full write permissions to the files ( dont worry the samba share is only avalible to select users )

now i am having trouble finding what cron process is fiddle-ing with my files.
out of annoyance i wiped out msec in /etc/cron.daily and it still switches my files back.

( i presume its cron because it changes back over night, and its not a user because the account are all disabled over night )

the main company data folder 'company' is in the root dir ( / )
the distro is mandrake 9.1
and i have samba 3 running.

Mandrake uses a program which produces the cron jobs to do this. I think it's called msec. If you go into the MCC and go into the security section, you should be able to fine tune the rules there by allowing that directory to have world writable files. The users guide for Mandrake 9.1 which you may have on disk, or could download from their web site will have instructions also. If you have webmin installed on the mandrake box, there may be a module for msec, however I'm not sure about that. Also, for security reasons, you may not have a web-server installed on the box.