6 Replies Latest reply: Jul 3, 2013 12:29 PM by SATHISH2729 RSS

CIFS file level permissions?

allblacknz
Currently Being Moderated

Hi all,

 

First post on the forum and brand new to netapp.

 

We have a N6040 and I am in the process of setting up CIFS shares.

I have succesfully ran the cifs setup command. My filer is now part of our AD and everything seems OK up to here.

I can succesfully create shares through filerview or MMC. I can browse to them fine but I cannot create any files or folders.

To me it seems like a file level permission issue. How can I set NTFS file level permissions? There is no security tab when I click my share in MMC

 

I pretty much went with the default when setting up volumes and shares. Everyone has full control share access.

 

This is my fsecurity output

 

 

it028248> fsecurity show /vol/turits1_vdr1_1
[/vol/turits1_vdr1_1 - Directory (inum 64)]
  Security style: Unix
  Effective style: Unix

  DOS attributes: 0x0010 (----D---)

  Unix security:
    uid: 0 (root)
    gid: 0
    mode: 0755 (rwxr-xr-x)

  No security descriptor available.

Cheers

  • Re: CIFS file level permissions?
    cat_towerbe
    Currently Being Moderated

    You have your answer for all your questions right in your posting.  Your security style is UNIX.  You need to change it to NTFS in order to apply NTFS permissions and to see the security tab.

    • Re: CIFS file level permissions?
      allblacknz
      Currently Being Moderated

      Thanks, I had done some more reseach before you replied and things started to become somewhat clearer.

      Our volume were created with the UNIX permissions by default. It took me a while to find out were to change it

      but once I changed it under qtree to NTFS things started to fall in place.

       

      I find it a bit confusing that you need to use qtree security for changing permissions on a volume :-)

       

      cheers

  • Re: CIFS file level permissions?
    SATHISH2729
    Currently Being Moderated

    Hi All,

     

    it028248> fsecurity show /vol/turits1_vdr1_1
    [/vol/turits1_vdr1_1 - Directory (inum 64)]
      Security style: Unix
      Effective style: Unix

      DOS attributes: 0x0010 (----D---)

      Unix security:
        uid: 0 (root)
        gid: 0
        mode: 0755 (rwxr-xr-x)

      No security descriptor available.

    Cheers

     

    I have a solution for this issue,

                       Steps to perform UNIX to NTFS - using CLI:-

    • first delete this share, cifs shares -add turits1_vdr1_1 /vol/turits1_vdr1_1
    • then, qtree secutity /vol/turits1_vdr1_1

            it show unix | ntfs | mixed

    • then, qtree security /vol/turits1_vdr1_1 ntfs
    • Now it set to NTFS style,
    • Now, Create new cifs share, cifs share -add turits1_vdr1_1 /vol/turits1_vdr1_1
    • then, give permission to user's Full Controll
    • now check, fsecurity show turits1_vdr1_1
    • it will show,Security style: NTFS & Effective style: NTFS
    • Job Done... Get appreciation from the customer or client...

     

    If anyone needs any help, email me @ sathish.storage@live.com or skype me @ sathish2927...



More Like This

  • Retrieving data ...