Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Anthony W. Youngman" <thewolery@nospam.demon.co.uk>
Subject: Re: Samba, ACL, and DUnix
Date: 1998/12/08	[thread overview]
Message-ID: <mL+9DHAJyXb2EwNB@thewolery.demon.co.uk> (raw)
In-Reply-To: 366D590A.6E4A@pstcc.cc.tn.us.net

In article <366D590A.6E4A@pstcc.cc.tn.us.net>, Ed Wensell III aka THE
StormRaiser <ewensell@pstcc.cc.tn.us.net> 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.




  reply	other threads:[~1998-12-08  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <366bee92.0@amhnt2.amherst.edu>
     [not found] ` <366BF574.8EA05036@ibm.net>
1998-12-08  5:00   ` Samba, ACL, and DUnix Paul Chapin
1998-12-08  5:00     ` Ed Wensell III aka THE StormRaiser
1998-12-08  5:00       ` Anthony W. Youngman [this message]
1998-12-09  5:00         ` Paul Chapin
1998-12-15  5:00     ` David Collier-Brown
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox