l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2003 Feb 19 23:42

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



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.
===
STICKY DIRECTORIES
       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



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.