* Re: Samba, ACL, and DUnix
[not found] ` <366BF574.8EA05036@ibm.net>
@ 1998-12-08 5:00 ` Paul Chapin
1998-12-08 5:00 ` Ed Wensell III aka THE StormRaiser
1998-12-15 5:00 ` David Collier-Brown
0 siblings, 2 replies; 5+ messages in thread
From: Paul Chapin @ 1998-12-08 5:00 UTC (permalink / raw)
Andrew Williams <36bit@ibm.net> wrote in message
<366BF574.8EA05036@ibm.net>...
>Look at thread 'NT ACLs', 27-Nov, 22:00
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.
-----
Paul Chapin
UNIX Manager
Amherst College
413 542-2144
http://www.amherst.edu/~pdchapin
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Samba, ACL, and DUnix
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
1998-12-15 5:00 ` David Collier-Brown
1 sibling, 1 reply; 5+ messages in thread
From: Ed Wensell III aka THE StormRaiser @ 1998-12-08 5:00 UTC (permalink / raw)
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).
--
Until soon...
Ed Wensell III
Systems and Operations Support, Pellissippi State
E-mail hint: A college with a dot net domain?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Samba, ACL, and DUnix
1998-12-08 5:00 ` Ed Wensell III aka THE StormRaiser
@ 1998-12-08 5:00 ` Anthony W. Youngman
1998-12-09 5:00 ` Paul Chapin
0 siblings, 1 reply; 5+ messages in thread
From: Anthony W. Youngman @ 1998-12-08 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Samba, ACL, and DUnix
1998-12-08 5:00 ` Anthony W. Youngman
@ 1998-12-09 5:00 ` Paul Chapin
0 siblings, 0 replies; 5+ messages in thread
From: Paul Chapin @ 1998-12-09 5:00 UTC (permalink / raw)
>Remember you may also need write permission to the directory ...
I do. In fact, I can do a "Save As" and save the time to the directory with
anther name. But I can't delete the original.
If I log on the UNIX system directly, then I can edit or delete the file all
I want so the problem is how Samba and ACLs are interacting. I could
understand it better if ACLs failed completely, but they do let me read the
file, which normal file permissions wouldn't let me do.
>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 :-(
Problem with that is that it wouldn't even let me delete the file directly
from the mapped drive. Besides, the directory default should give me
permission to all files created in the directory.
-----
Paul Chapin
UNIX Manager
Amherst College
413 542-2144
http://www.amherst.edu/~pdchapin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Samba, ACL, and DUnix
1998-12-08 5:00 ` Samba, ACL, and DUnix Paul Chapin
1998-12-08 5:00 ` Ed Wensell III aka THE StormRaiser
@ 1998-12-15 5:00 ` David Collier-Brown
1 sibling, 0 replies; 5+ messages in thread
From: David Collier-Brown @ 1998-12-15 5:00 UTC (permalink / raw)
To: Paul Chapin
Paul Chapin wrote:
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.
It's very liely the application renamed the input
file to file.bak and is trying to create a new file.
This is a recurring problem in medium-security (and
up) sites. Add append permission to the directory
and try that.
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | http://java.science.yorku.ca/~davecb
Work: (905) 477-0437, Home: (416) 223-8968, Email: davecb@canada.sun.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-12-15 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
1998-12-09 5:00 ` Paul Chapin
1998-12-15 5:00 ` David Collier-Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox