RE: Samba File Sharing permissions problem

From: Peter Smith (pasmith_at_wbmpl.com.au)
Date: 01/08/04

  • Next message: Rigler, Steve: "RE: Samba File Sharing permissions problem"
    To: redhat-list@redhat.com
    Date: Fri, 9 Jan 2004 07:36:14 +1000
    
    

    My understanding is that file system permissions are always used. The
    settings in smb.conf control the file system settings for directories when
    they are created within the share.

    Your /var/www already exists, so samba has no control over it. Therefore
    you need to set the permissions you want for www manually.

    I get caught that way every time.

    Regards,
    Peter Smith

    -----Original Message-----
    From: redhat-list-admin@redhat.com
    [mailto:redhat-list-admin@redhat.com]On Behalf Of Donald Tyler
    Sent: Friday, 9 January 2004 6:09 AM
    To: redhat-list@redhat.com
    Subject: Re: Samba File Sharing permissions problem

    I couldnt find anything in the smb.conf file that said "security =", all I
    found was this:

    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>

    -------------------------[ Share
    Definition: ]--------------------------------

    [www]

        comment = WWW Test Server
        path = /var/www/
        writeable = yes

    I can get it to work if I set the permissions on the www to allow access to
    the user. But I dont understand what the point of having that check box is
    if all you have to do is set the file permissions via the file system. It
    seems to be that you would be able to set the permissions via SMB seperate
    of any file system permissions.

    ----- Original Message -----
    From: "Rigler, Steve" <SRigler@MarathonOil.com>
    To: <redhat-list@redhat.com>
    Sent: Thursday, January 08, 2004 12:39 PM
    Subject: RE: Samba File Sharing permissions problem

    > A little more info would help.
    >
    > Some information from your smb.conf:
    > 1. what does the "security = " line say
    > 2. what does the definition of your share look like
    >
    > Aside from that, who is the owner of /var/www and what
    > are the full permissions on that directory and its
    > contents.
    >
    > --
    > S C Rigler
    > RHCE #803003335409754
    >
    >
    > -----Original Message-----
    > From: redhat-list-admin@redhat.com [mailto:redhat-list-admin@redhat.com]On
    Behalf Of Donald Tyler
    > Sent: Thursday, January 08, 2004 11:26 AM
    > To: redhat-list@redhat.com
    > Subject: Samba File Sharing permissions problem
    >
    >
    > Hi,
    >
    > Sorry if this has been asked recently, but I dont have access to my
    archives at the moment.
    >
    > I just set up a Samba file share of the \var\www directory and I am not
    able to create or edit its contents from a windows machine even though I set
    the permissions to Read/Write.
    >
    > I can however create and edit files in my home directory from the windows
    machine.
    >
    > I would have thought that the file system permissions were not relevant
    when using the Samba file sharing, or else what would be the point of the
    Read/Write check box when settings up a file share?
    >
    > Anyone have any ideas what I am doing wrong?
    >
    > Thanks
    >
    > Donald Tyler
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >

    --
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Rigler, Steve: "RE: Samba File Sharing permissions problem"

    Relevant Pages

    • Re: Question about resources
      ... You can control access to shared resources with a variety of methods. ... can use share permissions ... on the NTFS file system ...
      (microsoft.public.win2000.active_directory)
    • Re: Permissions on filesystem via Group policy
      ... can use the Resultant Set of Policy mmc snapin to see exactly what Group ... you want to disable "inherited permissions" in the advanced page if you only ... > Right-click File System and press Add File. ... Use the security settings of that GPO to specify ...
      (microsoft.public.windows.group_policy)
    • Re: Linux for Kids
      ... so this is equivalent to Olin file and directory permissions then. ... Olin keeps it's permissions in the file system, ... Is it sort of attached to each file and folder? ...
      (comp.os.linux)
    • Re: Is it possible to run as administrator without password?
      ... Access Control Lists aren't exposed through the GUI in this version of Vista ... You can make a list of the registry and file system ... actually saw the Permissions locations in the properties dialogs for various ... If there are restricted registry locations involved, ...
      (microsoft.public.windows.vista.administration_accounts_passwords)
    • Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon access scanning
      ... turns out to be malware. ... outside filesystem permissions from the grouping. ... from native file system to inodes currently the permissions on the ... So TALPA might save Linux ...
      (Linux-Kernel)