[LU-10830] lfs setstripe not correctly setting umask permissions Created: 20/Mar/18  Updated: 29/May/19  Resolved: 09/Apr/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.2
Fix Version/s: Lustre 2.12.0

Type: Bug Priority: Minor
Reporter: Mahmoud Hanafi Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Here is example 

$ umask 022
$ touch foo_022 
$ umask 007
$ touch foo_007
$ lfs setstripe -c 1 foo_lfs_007
$ ls -ltr *
-rw-r--r-- 1 xxxxx yyy 0 Mar 20 13:35 foo_022
-rw-rw---- 1 xxxxx yyy 0 Mar 20 13:35 foo_007
-rw-r----- 1 xxxxx yyy 0 Mar 20 13:35 foo_lfs_007


 Comments   
Comment by Peter Jones [ 21/Mar/18 ]

Emoly

Could you please investigate

Thanks

Peter

Comment by Gerrit Updater [ 23/Mar/18 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/31747
Subject: LU-10830 utils: fix create mode for lfs setstripe
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 458f12005b914044c63129a718890a91bd411119

Comment by Gerrit Updater [ 09/Apr/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31747/
Subject: LU-10830 utils: fix create mode for lfs setstripe
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 543f1fbe260174a511d9226b9fe1b544b75ac241

Comment by Gerrit Updater [ 10/Apr/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31938
Subject: LU-10830 utils: fix create mode for lfs setstripe
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 9ba62979f20dfca4014a07f9f64435487f3ad1f7

Generated at Sat Feb 10 02:38:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.