Question for Everyone, We are running 1.9.18p8 on hpux 10.20. This particular machine has a directory called docommon that is writable by anyone. The problem we are having is that whenever someone opens a file with word 97, then saves it, they own the file and the permissions are -rw-r--r--. Thus, no one else can open the file. How can we make the files keep the -rw-rw-rw setting? Please CC: me as I am not on the samba list. Thanks, AJ +----------- Behind it all, there's ANSYS ------------+ | AJ Prowant aj.prowant@ansys.com | | Jr. Systems Administrator 724-514-3607 (voice) | | Information Technology 724-514-3117 (fax) | | Ansys Inc. http://www.ansys.com | +-----------------------------------------------------+
--On Tuesday, August 18, 1998, 10:45 AM +1000 AJ Prowant <aj.prowant@ansys.com> wrote:> Date: Mon, 17 Aug 1998 17:08:30 -0400 > From: AJ Prowant <aj.prowant@ansys.com> > To: "'samba@samba.anu.edu.au'" <samba@samba.anu.edu.au> > Subject: Word 97 and permission problems > > Question for Everyone, > We are running 1.9.18p8 on hpux 10.20.So are we.> This particular machine has a > directory called docommon that is writable by anyone. The problem we > are having is that whenever someone opens a file with word 97, then > saves it, they own the file and the permissions are -rw-r--r--. Thus, > no one else can open the file. How can we make the files keep the > -rw-rw-rw setting?Assuming the file can be created with those permissions (not so far-fetched), what happens when you set the sticky bit on that directory (i.e., what happens when you set permissions on docommon to 1777?) The original owner still owns the file (I suppose your sysadmin or lanadmin can change this if it's necessary), but anyone else should be able to open the file; however, only the owner and root should be able to delete it.> Please CC: me as I am not on the samba list. > > Thanks, > AJ > > +----------- Behind it all, there's ANSYS ------------+ > | AJ Prowant aj.prowant@ansys.com | > | Jr. Systems Administrator 724-514-3607 (voice) | > | Information Technology 724-514-3117 (fax) | > | Ansys Inc. http://www.ansys.com | > +-----------------------------------------------------+c -- Cliff Green green@umdnj.edu Academic Computing Service University of Medicine & Dentistry of New Jersey "Two rules to success in life: 1. Don't tell people everything you know." - Sassan Tat
You asked: | The problem we are having is that whenever someone opens a file with | word 97, then saves it, they own the file and the permissions are | -rw-r--r--. Thus, no one else can open the file. How can we make | the files keep the -rw-rw-rw setting? If this is a directory (share, service) of all world-writable files, you can add a ``force create mask'' option to set the permission bits you prefer. --dave
> Date: Mon, 17 Aug 1998 17:08:30 -0400 > From: AJ Prowant <aj.prowant@ansys.com> > To: "'samba@samba.anu.edu.au'" <samba@samba.anu.edu.au> > Subject: Word 97 and permission problems> Question for Everyone, > > We are running 1.9.18p8 on hpux 10.20. > > This particular machine has a > directory called docommon that is writable by anyone. The problem we > are having is that whenever someone opens a file with word 97, then > saves it, they own the file and the permissions are -rw-r--r--. Thus, > no one else can open the file. How can we make the files keep the > -rw-rw-rw setting?What about using the *mask settings in the smb.conf file? I have in a couple of my files: create mask = 0774 directory mask = 0775 and the directories that this "share" affects is set to 775 with the sgid bit set. So far we haven't had any problems. -- Seeya, Paul ---- plussier@baynetworks.com Broadband Technology Division - Bay Networks (now a Nortel Company, Ay! :) If you're not having fun, you're not doing it right!