On Sunday 17 Apr 2005 20:45, Mikkel L. Ellertson wrote: > Isak Lyberth wrote: > > I have installed MandrakeLinux 10.1 on a server. > > 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 > > 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. > > 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
You could try putting a line, something like the one I had to put into /etc/security/msec/permlocal when msec interfered with GnomeMeeting: /dev/v4l/ root.video 770 I guess it would be /homes/files/ khe.dkt 775 Anne -- Registered Linux User No.293302 (http://counter.li.org/) Have you visited http://twiki.mdklinuxfaq.org yet? Mandrake at all levels
pgp3fQyKG3EIp.pgp
Description: PGP signature
