Welcome to the Linux Foundation Forum!

File/Directory permission, umask, matlab in red hat 6

Options

Hi,

I have a puzzling issue happening. I set up red hat 6 umask so that any file/directory created gives rwx permission to user and group.

I use a program called matlab to do work and for some reason when it create some directories, it creates those with only the user getting rwx permission. It's weird.

I have uploaded the permission for the files created by matlab

There is a folder called 'switch_lib_backup.8eHQ' that only has user rwx permission.

Another folder created at the same time 'sysgen' gets the correct permission for user and group.

I set up my umask to 002 in

/etc/login.defs

/etc/profile

/home/compiler/.bashrc

I though that covers everything that is used during directory/file creation.

I am not sure what I am missing at this point

I would really appreciate some help from the linux experts

Thanks,

Amish

Okay attaching a picture is not working right for some reason so here is the file list

[root@ROC-W7-JB3V942 cex]# ls -al

total 1792

drwxrwxr-x. 6 compiler compilepcaccess 4096 Apr 14 16:11 .

drwxrwxr-x. 10 compiler compilepcaccess 4096 Apr 14 16:11 ..

-rw-rw-r--. 1 compiler compilepcaccess 25719 Apr 14 16:10 addsb_11_0_4af37b56400853b6.ngc

-rw-rw-r--. 1 compiler compilepcaccess 38335 Apr 14 16:10 addsb_11_0_7aedcc400797e55f.ngc

-rw-rw-r--. 1 compiler compilepcaccess 26159 Apr 14 16:10 addsb_11_0_8439c4265d11efb7.ngc

-rw-rw-r--. 1 compiler compilepcaccess 28402 Apr 14 16:10 addsb_11_0_8b258e23385632d3.ngc

-rw-rw-r--. 1 compiler compilepcaccess 16778 Apr 14 16:10 addsb_11_0_8f289461512029ce.ngc

-rw-rw-r--. 1 compiler compilepcaccess 8343 Apr 14 16:10 addsb_11_0_ae4d48a05fe043c7.ngc

-rw-rw-r--. 1 compiler compilepcaccess 23925 Apr 14 16:10 addsb_11_0_bfa6995a9e2da785.ngc

-rw-rw-r--. 1 compiler compilepcaccess 25723 Apr 14 16:10 addsb_11_0_f02d6571fe990ed6.ngc

-rw-rw-r--. 1 compiler compilepcaccess 469 Apr 14 16:10 blockCoreMap

-rw-rw-r--. 1 compiler compilepcaccess 133932 Apr 14 16:10 cc_cmplr_v2_0_2e49beb7bc09f12f.ngc

-rw-rw-r--. 1 compiler compilepcaccess 1057 Apr 14 16:11 cex_cw.gise

-rw-rw-r--. 1 compiler compilepcaccess 735 Apr 14 16:10 cex_cw_import.log

-rw-rw-r--. 1 compiler compilepcaccess 47 Apr 14 16:10 cex_cw.sdc

-rw-rw-r--. 1 compiler compilepcaccess 0 Apr 14 16:10 cex_cw.sgp

-rw-rw-r--. 1 compiler compilepcaccess 135 Apr 14 16:10 cex_cw.ucf

-rw-rw-r--. 1 compiler compilepcaccess 22883 Apr 14 16:11 cex_cw.vhd

-rw-rw-r--. 1 compiler compilepcaccess 135 Apr 14 16:10 cex_cw.xcf

-rw-rw-r--. 1 compiler compilepcaccess 81 Apr 14 16:10 cex_cw.xdc

-rw-rw-r--. 1 compiler compilepcaccess 37629 Apr 14 16:11 cex_cw.xise

-rw-rw-r--. 1 compiler compilepcaccess 444035 Apr 14 16:11 cex.vhd

-rw-rw-r--. 1 compiler compilepcaccess 63025 Apr 14 16:10 cmlt_11_2_fec4c225ed1d8370.ngc

-rw-rw-r--. 1 compiler compilepcaccess 12418 Apr 14 16:10 cntr_11_0_08bd65bad5e84483.ngc

-rw-rw-r--. 1 compiler compilepcaccess 7322 Apr 14 16:10 cntr_11_0_77246da619afdb01.ngc

-rw-rw-r--. 1 compiler compilepcaccess 729 Apr 14 16:11 commandLines

-rw-rw-r--. 1 compiler compilepcaccess 303291 Apr 14 16:10 crdc_v4_0_03f46ba7ceaf87e5.ngc

-rw-rw-r--. 1 compiler compilepcaccess 121456 Apr 14 16:10 dds_cmplr_v4_0_0d34586d2fc5c28c.ngc

-rw-rw-r--. 1 compiler compilepcaccess 387 Apr 14 16:11 fuse.log

-rw-rw-r--. 1 compiler compilepcaccess 36 Apr 14 16:11 fuseRelaunch.cmd

-rw-rw-r--. 1 compiler compilepcaccess 360 Apr 14 16:11 fuse.xmsgs

-rw-rw-r--. 1 compiler compilepcaccess 1457 Apr 14 16:10 globals

-rw-rw-r--. 1 compiler compilepcaccess 19 Apr 14 16:10 hdlFiles

drwxrwxr-x. 3 compiler compilepcaccess 4096 Apr 14 16:11 isim

-rw-rw-r--. 1 compiler compilepcaccess 45 Apr 14 16:11 isim_cex.prj

-rw-rw-r--. 1 compiler compilepcaccess 28854 Apr 14 16:10 mult_11_2_32bd782c97e2d5c5.ngc

-rw-rw-r--. 1 compiler compilepcaccess 51064 Apr 14 16:10 mult_11_2_44a6043fcdfdb8de.ngc

-rw-rw-r--. 1 compiler compilepcaccess 23561 Apr 14 16:10 mult_11_2_65d8735c23d92602.ngc

-rw-rw-r--. 1 compiler compilepcaccess 49738 Apr 14 16:10 name_translations

-r-xr-xr-x. 1 compiler compilepcaccess 1608 Apr 14 16:10 ProjectGeneration.tcl

-rwxrwxr-x. 1 compiler compilepcaccess 35711 Apr 14 16:10 SgIseProject.tcl

drwx------. 2 compiler compilepcaccess 4096 Apr 14 16:11 switch_lib_backup.8eHQ

-rw-rw-r--. 1 compiler compilepcaccess 149855 Apr 14 16:10 synopsis

drwxrwxr-x. 2 compiler compilepcaccess 4096 Apr 14 16:10 sysgen

-rw-rw-r--. 1 compiler compilepcaccess 355 Apr 14 16:11 vcom.do

-rw-rw-r--. 1 compiler compilepcaccess 660 Apr 14 16:10 xlpersistentdff.ngc

drwxrwxr-x. 2 compiler compilepcaccess 4096 Apr 14 16:10 _xmsgs

-rw-rw-r--. 1 compiler compilepcaccess 45 Apr 14 16:11 xst_cex.prj

-rw-rw-r--. 1 compiler compilepcaccess 296 Apr 14 16:10 xst_cex.scr

Categories

Upcoming Training