Re: [SLE] Nobody is home in Samba [Solved]

From: Jerome Lyles (susemail_at_hawaii.rr.com)
Date: 05/08/04

  • Next message: Fred M. Sloniker: "[SLE] .thumbnails directory-- what controls its size?"
    To: suse-linux-e@suse.com
    Date: Fri, 7 May 2004 19:47:46 -1000
    
    

    Excellent! Yes it helps very much. Thank you.
    Jerome

    On Friday 07 May 2004 04:32 am, 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). The owner, group and world permissions are each defined by
    > the read, write and execute bits. (ie. dwrxwrxwrx) The mode numbers are
    > just short hand for setting the binary attributes of the read-write-execute
    > permissions you want. For the owner, group and world bits the numbers mean
    > the following:
    >
    > # binary wrx permission
    > 1 001 (--x) execute only
    > 2 010 (-w-) write only
    > 3 011 (-wx) write and execute
    > 4 100 (r--) read only
    > 5 101 (r-x) read and execute
    > 6 110 (rw-) read and write
    > 7 111 (rwx) read, write and execute
    >
    > So chmod 0660 filename sets the file permission of filename to
    >
    > -rw-rw----
    >
    > That means owner has read/write and group has read/write and world has no
    > access
    >
    > Similarly chmod 0750 filename sets the file permission of filename to
    >
    > -rwx-r-x---
    >
    > Which means owner has read/write/execute, group has read/execute and world
    > has no access.
    >
    > If your not affecting the directory bit, you can omit the leading 0. So
    > chmod 660 is the same as chmod 0660.
    >
    > Hope that helps...... Somebody add this to a man page somewhere........
    >
    > --
    > David C. Rankin, J.D., P.E.
    > RANKIN * BERTIN, PLLC
    > 510 Ochiltree Street
    > Nacogdoches, Texas 75961
    > (936) 715-9333
    > (936) 715-9339 fax
    > www.rankin-bertin.com
    > --
    > ----- Original Message -----
    > From: "Jerome Lyles" <susemail@hawaii.rr.com>
    > To: <suse-linux-e@suse.com>
    > Sent: Friday, May 07, 2004 3:35 AM
    > Subject: Re: [SLE] Nobody is home in Samba [Solved]
    >
    > > On Thursday 06 May 2004 03:27 am, Louis Richards wrote:
    > > <SNIP>
    > > I did as you suggested and also I added myself as a user using smbpasswd
    >
    > and
    >
    > > it worked. Thank you Louis! I checked man chmod but couldn't find out
    >
    > what
    >
    > > the modes you suggested I use mean. What are the create mask and
    >
    > directory
    >
    > > mask functions? 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
    > >
    > > > You have changed this to make the home directory browsable. When a
    > > > client first browses a server, it is done as nobody. You have not
    > > > logged on to the server yet. The server has no way to tell who you are.
    > > > You also are allowing guest access. Try the following:
    > > >
    > > > [homes]
    > > > comment = Home Directories
    > > > valid users = %S
    > > > writable = Yes
    > > > create mask = 0660
    > > > directory mask = 0770
    > > > browseable = No
    > > >
    > > >
    > > > --
    > > >
    > > > Louis D. Richards
    > > > LDR Interactive Technologies
    > >
    > > --
    > > Check the headers for your unsubscription address
    > > For additional commands send e-mail to suse-linux-e-help@suse.com
    > > Also check the archives at http://lists.suse.com
    > > Please read the FAQs: suse-linux-e-faq@suse.com

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Fred M. Sloniker: "[SLE] .thumbnails directory-- what controls its size?"

    Relevant Pages

    • Re: [SLE] Nobody is home in Samba [Solved]
      ... The owner, group and world permissions are each defined by ... So chmod 0660 filename sets the file permission of filename to ... Similarly chmod 0750 filename sets the file permission of filename to ...
      (SuSE)
    • Re: Reg: mkfs in FC4
      ... I'm a novice in device driver programming. ... command..It gives error as permission denied..I changed the permission ... chmod 777 <filename> ...
      (comp.os.linux.development.system)
    • Re: Overload method in a class
      ... function openFile(obj, filename, permission) ... Is it possible to overlap methods in Matlab R2008a? ... The error message is correct -- you're attempting to redefine openFile. ...
      (comp.soft-sys.matlab)
    • Re: File.Exists question
      ... > Thanks Nick, but it didn't seem to work. ... > FileIOPermission(FileIOPermissionAccess.AllAccess, fileName);> f.Demand; ... you aren't doing anything to> indicate>> whether or not you have permission. ... >>> using FileIOPermission to give me rights to read it, ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Move a file
      ... The permission issue was because I had the Test file open. ... Best wishes Harald ... Dim PathSource As String ... Dim FileName As String ...
      (microsoft.public.excel.programming)