[Samba] Modify but not create permissions

Kit Gerrits kit at gerritsaa.nl
Thu Jun 17 21:15:09 GMT 2004


I'm not sure if someone answered this already, but NFS incorporates _no
security_ whatsoever, so any file you open on the remote server is opened
with _root_ permissions, if I recall correctly.

That means that, is you require no special authentication on Samba-level,
there is no protection at file-level, either.

Perhaps you should look into the
Valid users
Statement

Good luck!

-----Oorspronkelijk bericht-----
Van: Bill Chmura [mailto:Bill at Explosivo.com] 
Verzonden: woensdag 16 juni 2004 9:34
Aan: samba at lists.samba.org
Onderwerp: Re: [Samba] Modify but not create permissions


So I figured out what the problem was...  the local machine did not have my 
user with the same UID as the server...  This is strange for a few
reasons...

In my fstab file I had always specified the UID and GID to connect as...  
Which had always worked.

Now if it was an outright wrong thing, why did it let me create and stuff in

the top of the share...  but not in subdirectories.

Is this a bug?

I installed NFS earlier tonight to share between linux boxes.  I still need 
samba for a few windows boxes so I have that working anyway.

Well, I'm glad its working


On Tuesday 15 June 2004 06:25 pm, Bill Chmura wrote:
> I am still trying to figure out why samba wont let me create in
> subdirectories
>
> I've tripple checked everything and a few things leapt out at me.
>
> *) I can modify a file inside a directory that I cannot create a file in. 
> I did not know it was possible under linux to do that.
>
> *) If I set all perms on 777 I can create.  But neither 775 or 755 will
> allow it.
>
> *) When I go into a mount through a terminal, and I do an ls -l I get raw
> UID numbers back instead of actual owners.  Is this normal?  I could not
> remember.
>
> The logs show me being accepted as UID 500 which is what the files and
> directories are owned by
>
> I am still baffled by the being able to modify, but not delete or
create...
>
> Any help would be greatly appreciated at this point!
>
>
>
> --
>
> Bill Chmura
>
> w. http://www.fistfullofcode.com
> w. http://www.explosivo.com
>
> ------------------------------------------------------
> Without good motivation, science and technology, instead of helping, bring
> more fear and threaten global destruction. Compassionate thought is very
> important for humankind.
> -His Holiness the Dalai Lama
>
> Wisdom does not mean knowledge but experiential understanding. Wisdom
helps
> you to change radically your habits and perceptions, as you discover the
> constantly changing, interconnected nature of the whole of existence.
> -Martine Batchelor, "Meditation For Life"
> -------------------------------------------------------

-- 

Bill Chmura
Director of Internet Technology
Explosivo ITG
Wolcott, CT

p: 888.560.YWEB (9932)
e: bill at Explosivo.com
w. http://www.explosivo.com




More information about the samba mailing list