Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Nobody is home in Samba [Solved]
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Fri, 7 May 2004 20:48:57 +0200
  • Message-id: <200405072048.57684.andjoh@xxxxxxxxxx>
On Friday 07 May 2004 16.32, David Rankin wrote:
> What are modes 0660 and 0750? And from one of your later
>
> > emails (Samba Share - Access Denied) what does "chmod g+s /some directory
>
> do?
>
> > Thanks again,
> > Jerome
>
> The easiest way to think about it is that the four numbers of a mode
> represent -- directory -- owner -- group -- world -- permissions. The
> directory bit just signifies whether the filename is a file (0) or a
> directory (1).

What? What? What?

There is no such thing as a directory bit in the permissions.

The leading number is an octet just like the other, I described it in my other
mail, but here goes again

100 = File/Directory is SUID
010 = File/Directory is SGID
001 = File/Directory is sticky (means nothing for files, for directories means
that only owner of file may modify file even though directory is world
writable, ref: /tmp)

< Previous Next >
Follow Ups