Results 1 to 3 of 3

Thread: permissions access

  1. #1
    Join Date
    Oct 2014
    Location
    Brazil
    Posts
    41

    Default permissions access

    Hello Friends!

    We have a share folder with access permissions to Group = contabilidade
    So: chown contabilidade:contabilidade
    and: chmod 775 -R /share folder

    Inside the group, there is an user (luciano) and sometimes he needs extract 7z file into /share folder to update files from software. Before he did can extract normally and now for some reason, he cannot extract file (without permission), I did verify, and seems ok access.
    He access share folder by windows without problems but when try to extract the 7z file inside the share folder, got error

    Inside samba share (smb.conf)

    Code:
    [contabilidade]
        browseable = Yes
        comment = sistemasequiplano
        create mask = 0777
        directory mask = 0777
        force directory mode = 0777
        inherit acls = Yes
        path = /usr/sistemasequiplano/contabilidade
        read only = No
        valid users = +contabilidade
        force create mode = 0777
        vfs objects =
    Where the error please and, how can I fix it?

    Thanks attention and Help

    Douglas

  2. #2

    Default Re: permissions access

    Make sure the user (either directly or through their group membership) has execute permission on the parent directories.

    This post has a more detailed description of what's going on: https://unix.stackexchange.com/quest...a-subdirectory

  3. #3
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    445

    Default Re: permissions access

    Code:
     path = /usr/sistemasequiplano/contabilidade
    Are you sure that this is the correct entry in your smb.conf file?
    I've never heard of anyone allowing access to one's /usr directory.
    Seems to me that that would be very insecure. Or am I wrong about that.
    Other older members who have their fingers in security could probably agree or disagree with me.
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •