l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Feb 20 17:05

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] samba permissions issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] samba permissions issue

ah, the sticky bit... you solved all my problems, I was thinking the sticky
directory was the default behavior.

----- Original Message -----
From: <msimons@moria.simons-clan.com>
To: <vox-tech@lists.lugod.org>
Sent: Wednesday, February 19, 2003 11:21 PM
Subject: Re: [vox-tech] samba permissions issue

> On Wed, Feb 19, 2003 at 07:36:51PM -0800, Jeff Newmiller wrote:
> > On Wed, 19 Feb 2003, Ryan wrote:
> > > I have a public upload directory set up with permissions 775, where I
> > > want want people in my 'users' group to be able to upload files.
> > >
> > > Files that are uploaded are given permissions 755.
> > > network neighborhood (winbloze), non-owners of a file that are logged in
> > > over the network, but still belonging to the 'users' group, can
> > > delete any of the files in the directory. I don't know why this is.
> >
> > Permission to delete files derives from the write permissions on the
> > directory from which the file is to be deleted.  The set of people
> > authorized to create files in a directory is equal to the set of people
> > authorized to delete or rename files in that directory.
>   Jeff is correct, with a minor modification.  If the directory low special
> bit (aka sticky bit) is set only owners of the file may delete the file.
>   1xxx.  like 1775 or 1777.
> this is how the /tmp dir is setup... you should try this and see if the
> windows users still have permission to nuke files.
> from chmod (1) man page.
> ===
>        When the sticky bit is set on a directory, files  in  that
>        directory may only be unlinked or renamed by root or their
>        owner.  (Without the sticky bit, anyone able to  write  to
>        the  directory can delete or rename files.) The sticky bit
>        is commonly found on directories, such as /tmp, which  are
>        world-writable.
> ===
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!