From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115a6f,73a7d2123cf70a83 X-Google-Attributes: gid115a6f,public X-Google-Thread: 1164f8,580b4e53a4a3bf76 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,580b4e53a4a3bf76 X-Google-Attributes: gidfee84,public From: "Anthony W. Youngman" Subject: Re: Samba, ACL, and DUnix Date: 1998/12/08 Message-ID: #1/1 X-Deja-AN: 420228672 X-NNTP-Posting-Host: thewolery.demon.co.uk:158.152.222.21 References: <366bee92.0@amhnt2.amherst.edu> <366BF574.8EA05036@ibm.net> <366d4df2.0@amhnt2.amherst.edu> <366D590A.6E4A@pstcc.cc.tn.us.net> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 913159823 nnrp-01:1060 NO-IDENT thewolery.demon.co.uk:158.152.222.21 Organization: vinny-puch MIME-Version: 1.0 Reply-To: "Anthony W. Youngman" Newsgroups: comp.protocols.smb,comp.sys.dec,comp.unix.osf.osf1 In article <366D590A.6E4A@pstcc.cc.tn.us.net>, Ed Wensell III aka THE StormRaiser writes >Paul Chapin wrote: >> That was interesting but didn't deal with my problem. I have a file on the >> UNIX box that is owned by another user but has the ACL set up so that I can >> read and write it. I can verify that I can access it directly on the UNIX. >> I can read the file on my Win98 system and bring it up in Notepad. But when >> I try to save the file back I'm told that I need a new name since the file >> is read-only. So why is the ACL read permission being recognized but not >> the write permission. >> >> This may be a problem with ACLs on dUnix 4.0D since I've had problem with my >> web server not recognizing the execute setting in ACLs for cgi scripts. > >What happens when you try to save the edited file to your local machine, >and then copy it over to the share? What happens when you try the same >operation with the share mapped rather than accessed directly? > >I've run into instances where I tried editing a file via a share and >could not save the file directly back even though I was the owner of the >file. However, saving the file locally and then copying into place >worked fine. Mapping the drive rather than accessing the share directly >allowed me to save the files without the intermediate copy step. I'm not >sure if this is a Samba, Software, or Win9x thing (I suspect the >latter). > Remember you may also need write permission to the directory ... Some braindead (or otherwise) software works on a temporary copy, and when you hit "save" it deletes the original and renames the copy. That's why you get permissions being "lost" (ie it isn't the original file) and you also get weirdos where you think you have permission to the file... you're not accessing the file you think you are :-( And some properly written software is aware of this and tries both routes to see which works :-) -- Anthony W. Youngman - wol at thewolery dot demon dot co dot uk Trousers with a single hole in their waistband are topologically equivalent to a doughnut. These sugarcoated trousers have yet to catch on at fast-food outlets! (SuperStrings by F. David Peat) If replying by e-mail please mail wol. Anything else may get missed amongst the spam.