[Samba] Permissions issue -- cannot delete a folder/file - Samba

This is a discussion on [Samba] Permissions issue -- cannot delete a folder/file - Samba ; Hi, I am relatively new to Samba although I've installed it and used it before my knowledge is very shallow. Environment: Samba version is: 3.0.21a Platform: Sun X4200 M2, AMD Opteron running Solaris 10 Client: Windows Vista Situation: I am ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [Samba] Permissions issue -- cannot delete a folder/file

  1. [Samba] Permissions issue -- cannot delete a folder/file

    Hi,

    I am relatively new to Samba although I've installed it and used it before my knowledge is very shallow.

    Environment:

    Samba version is: 3.0.21a
    Platform: Sun X4200 M2, AMD Opteron running Solaris 10
    Client: Windows Vista

    Situation:

    I am trying to allow a user to copy folders from her desktop system to the SMB share that is mounted on her computer. I am using a different login to mount the share on her computer. The login was created on the server side.

    After copying a folder to the server she can't delete the folder. The login used to mount the share is the owner of the folder and the permissions are set to 755.

    So, I went to the command line and tried to delete the folder and it prompted me to verify that I wanted to delete each subfolder that was protected. But, when I create a folder/file in this folder from the command line I can delete it with no questions asked.

    Looking at the permissions from the Window side I only have Read & Execute and Read permission on each file in the folders. If I don't have permission to write I shouldn't have permission to delete either.

    The question:

    Why is it that I am the owner of the folder/files, I have Read/Write/Execute Unix permission as the owner (755) but I can't delete the folder after copying it to the server?

    Gripe session: (Ignore this if you don't have time or don't care)

    I originally had planned to allow the user to have 2 mount points on the same server using different logins. Didn't realize that SMB protocol allows only one login to the server at a time. What is up with that?
    So, I had to reorganize the folders and permissions to allow 3 users to only see their folder whilst the other user can see hers and the other 3 user's folders.

    Thanks in advance...
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] Permissions issue -- cannot delete a folder/file

    > Gripe session: (Ignore this if you don't have time or don't care)
    >
    > I originally had planned to allow the user to have 2 mount points on the same server using different logins. Didn't realize that SMB protocol allows only one login to the server at a time. What is up with that?
    >

    This is a Microsoft feature and it has always been that way. A single
    user can not connect to the same server with more than one set of
    credentials at a time.

    John
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  3. Re: [Samba] Permissions issue -- cannot delete a folder/file


    On Wed, 2008-01-23 at 12:16 -0500, John Drescher wrote:
    > > Gripe session: (Ignore this if you don't have time or don't care)
    > >
    > > I originally had planned to allow the user to have 2 mount points on the same server using different logins. Didn't realize that SMB protocol allows only one login to the server at a time. What is up with that?
    > >

    > This is a Microsoft feature and it has always been that way. A single
    > user can not connect to the same server with more than one set of
    > credentials at a time.


    This is just a client redirector limitation, you can work around it by
    giving your server a netbios alias and connecting to this different name
    and a new set of credentials (does not work with kerberos credentials
    for obvious reasons, but works with NTLM auth).

    Simo.

    --
    Simo Sorce
    Samba Team GPL Compliance Officer
    Senior Software Engineer at Red Hat Inc.

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  4. Re: [Samba] Permissions issue -- cannot delete a folder/file

    How many aliases are allowed. I remember seeing an alias field in swat.

    I have 4 logins that I was going to set up for the user that will be
    maintaining all 4 directories. For reasons to lengthy to explain, I need 4
    different mount points with separate logins.
    Is this possible?

    Thanks,

    Robert

    ----- Original Message -----
    From: "simo"
    To: "John Drescher"
    Cc: "Robert Pollard" ;
    Sent: Wednesday, January 23, 2008 11:33 AM
    Subject: Re: [Samba] Permissions issue -- cannot delete a folder/file


    >
    > On Wed, 2008-01-23 at 12:16 -0500, John Drescher wrote:
    >> > Gripe session: (Ignore this if you don't have time or don't care)
    >> >
    >> > I originally had planned to allow the user to have 2 mount points on
    >> > the same server using different logins. Didn't realize that SMB
    >> > protocol allows only one login to the server at a time. What is up
    >> > with that?
    >> >

    >> This is a Microsoft feature and it has always been that way. A single
    >> user can not connect to the same server with more than one set of
    >> credentials at a time.

    >
    > This is just a client redirector limitation, you can work around it by
    > giving your server a netbios alias and connecting to this different name
    > and a new set of credentials (does not work with kerberos credentials
    > for obvious reasons, but works with NTLM auth).
    >
    > Simo.
    >
    > --
    > Simo Sorce
    > Samba Team GPL Compliance Officer
    > Senior Software Engineer at Red Hat Inc.
    >
    >


    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread