Got it

Permissions when creating files in NFS / CIFS

Created: Oct 26, 2020 07:46:20Latest reply: Oct 26, 2020 08:35:10 494 7 1 0 0
  HiCoins as reward: 0 (problem unresolved)
Hello,

I have an Oceanstor 5500 with an FS with permissions in Native mode and that shares the files by NFS and CIFS simultaneously.

The problem is that when creating a file from CIFS, the permissions from the linux client that has NFS mounted are 744. Is there any way to change the file creation mask to be 774 for example?



Thank you

Greetings.

Featured Answers

Recommended answer

little_fish
Admin Created Oct 26, 2020 08:35:10

Dear infraestructuradgtic,

Please check this Guide: Cross-Protocol Share Access--Accessing a CIFS File Across Protocols.

This section describes how an NFS client accesses CIFS files and directories for which the NT ACL permission has been configured.

More detail:

https://support.huawei.com/enterprise/en/doc/EDOC1000084198/2966c55a/cross-protocol-share-access#bas_nas_cifs_nfs_usenfs_acc_cifs_v3r5c00

Thank you.


View more
  • x
  • convention:

infraestructuradgtic
infraestructuradgtic Created Oct 27, 2020 06:41:00 (0) (0)
Gracias por tu respuesta, pero en el caso que tengo no parece funcionar como quiero, creo que por los permisos en modo nativo.
Le daré otro repaso a esta solución de todas formas.  
infraestructuradgtic
infraestructuradgtic Created Oct 27, 2020 06:41:44 (0) (0)
Thanks for your answer, but in the case that I have it does not seem to work as I want, I think because of the permissions in native mode.
I'll give this solution another review anyway.  
little_fish
little_fish Reply infraestructuradgtic  Created Nov 11, 2020 01:21:57 (0) (0)
Hello, have you solved your problem?  
All Answers
Hello, dear!
It's nice to meet you in the community.
We're working on your problem. Please be patient.
View more
  • x
  • convention:

Dear, your Oceanstor 5500 is v3 or v5?
View more
  • x
  • convention:

infraestructuradgtic
infraestructuradgtic Created Oct 27, 2020 06:36:30 (0) (0)
Hello, It´s v5  

Dear infraestructuradgtic,

Please check this Guide: Cross-Protocol Share Access--Accessing a CIFS File Across Protocols.

This section describes how an NFS client accesses CIFS files and directories for which the NT ACL permission has been configured.

More detail:

https://support.huawei.com/enterprise/en/doc/EDOC1000084198/2966c55a/cross-protocol-share-access#bas_nas_cifs_nfs_usenfs_acc_cifs_v3r5c00

Thank you.


View more
  • x
  • convention:

infraestructuradgtic
infraestructuradgtic Created Oct 27, 2020 06:41:00 (0) (0)
Gracias por tu respuesta, pero en el caso que tengo no parece funcionar como quiero, creo que por los permisos en modo nativo.
Le daré otro repaso a esta solución de todas formas.  
infraestructuradgtic
infraestructuradgtic Created Oct 27, 2020 06:41:44 (0) (0)
Thanks for your answer, but in the case that I have it does not seem to work as I want, I think because of the permissions in native mode.
I'll give this solution another review anyway.  
little_fish
little_fish Reply infraestructuradgtic  Created Nov 11, 2020 01:21:57 (0) (0)
Hello, have you solved your problem?  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.