File/Directory permission, umask, matlab in red hat 6
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
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 768 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 101 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 4 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 11 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 3 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 120 Mobile Computing
- 20 Android
- 85 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 395 Off Topic
- 121 Introductions
- 30 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 693 Software Development
- 1K Software
- 400 Applications
- 182 Command Line
- 5 Compiling/Installing
- 69 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)