I have installed MandrakeLinux 10.1 on a server.It sounds like msec is changing the permissions of /home/files on you. If this is the case, then you have a couple of ways to fix things. You will have to deside the right one for your usage.
On it i have installed Samba to be able to share files and printers from the server.
The Samba server has been configured to share the homedirectories of each users.
I have not made any domain.
There is also one common directory /home/files, that i shared to everybody.
I shared it with write access.
all users are created on both linux and smb passwd, and passwords are the same both places for each user, allong with that it is the same for each user on the workstations.
Client computers are all Windows XP with SP2
All users are a member of the same group.
on /home/files the permissions are as follows: drwxrwxr-x 2 khe dkt 512 apr 8 10:46 files (khe is one of the users, dkt is the group that all are members of)
Now the problem is that once in a while, some users are disallowed access to the files share.
if i go in and set the filepermissions (chmod 775 /home/files) for the files folder, the users are once againg allowed to access the files share.
What is wrong?
and what can i do to fix it?
Users are of course getting more and more annoyed.
Regards Isak
If you do not need to keep track of who "owns" the files in /home/files, then you could change the share configuration so that all the files are "owned" by the user that "owns" /home/files. Something like this:
[Shared] comment = Shared files path = /home/files public = no writable = yes force user = samba force group = dkt
All the files in the directory will be "owned" by user samba and group dkt. To make it work, you would want to change the owner of /home/files to samba.
A second way would be to change the location of the shared directory so it was not in /homes. If you moved it to /files, or /var/files, it should stop msec from turning off group access.
You could also change your security level or stop msec all together to prevent it from changing things. Probably not a good idea. It is possible to stop msec from changing that directory, but that is not something I have looked into doing, so if you want to go that route, someone else will have to give you directions.
Mikkel --
Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup!
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
