second column in ls -l output

Latest response

drwxr-xr-x 0 xxxxx yyyyy 0 Apr 23 10:34 data

can someone please tell me what does that first zero means

even though I am root, I am unable to change the directory permissions

chmod 777 data

chmod: changing permissions of `data': Permission denied
#

Many thanks

Responses

Hi Masood,

The first zero means that there are no files in that directory. Regarding the permissions - why can't you change the permissions ?
Maybe the directory needs special ACL attributes : sudo setfacl -R -m u:<your-user-name>:rwx /path-to-directory

Regards,
Christian

there are files - many of them

[root]# cd data [root@cihctsdappa484 data]# ls -l |wc -l 262 ]#

Okay Masood, but then ls -l should show something else than 0 files and folders - right ? Example from my setup :

$ ls -l /run/media/cl/data
total 108
drwxrwxr-x+  3 cl   cl    4096 23. Apr 16:04 archive
drwxrwxrwx+  6 cl   cl    4096 11. Mär 15:09 centos
drwxrwxrwx+  2 cl   cl    4096 30. Mär 11:38 docker
drwxrwxrwx+  6 cl   cl    4096  2. Apr 16:17 fedora
drwxrwxr-x+  3 cl   cl    4096 15. Mär 17:22 gnome
drwxrwxrwx+  2 cl   cl    4096  4. Mai 13:15 guides
drwxrwx---+  2 root root 16384  3. Jul 2016  lost+found
drwxrwxrwx+  7 cl   cl    4096 13. Dez 14:18 private
drwxrwxrwx+ 17 cl   cl    4096 11. Apr 15:22 redhat
drwxrwxrwx+  6 cl   cl    4096  8. Mai 14:25 temp
drwxrwxrwx+  9 cl   cl    4096 10. Okt 2016  ubuntu
drwxrwxrwx+  6 cl   cl    4096 13. Jan 10:40 various  

Regards,
Christian

and....I get this error Christian....

setfacl -R -m u:root /infa_shared/imatica/cas_data/data

setfacl: Option -m incomplete #

Hi Masood,

You executed the command incompletely (you forgot rwx) and with root instead of your user name.
Also, the path to the data directory is /infa_shared/imatica/cas_data ... please try it again this way :
sudo setfacl -R -m u:<your-user-name>:rwx /infa_shared/imatica/cas_data

Regards,
Christian

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 6.9 (Santiago)

uname -a

Linux xxxxxxxxxxx 2.6.32-696.23.1.el6.x86_64 #1 SMP Sat Feb 10 11:10:31 EST 2018 x86_64 x86_64 x86_64 GNU/Linux #

here you go....

#
[root@cihctsdappa484 cas_data]# ls -ld /infa_shared/imatica/cas_data
drwxr-xr-x 1 imaticad imatusr 131072 Mar  9 07:21 /infa_shared/imatica/cas_data
#
# ls -l |grep data
drwxr-xr-x 0 imaticad imatusr       0 Apr 23 10:34 data =========================> this is the issue directory
-rwxr-xr-x 1 imaticad imatusr    1058 Oct 16  2014 loadbuyerdata.bat
-rwxr-xr-x 1 imaticad imatusr    2744 Oct 16  2014 loadsupplierdata.bat
#
# cd data
# ls -l
total 30039957
-rwxr-xr-x 1 imaticad imatusr       1596 Apr 23 10:21 168_HOUR_LIABILITY (2).dat
-rwxr-xr-x 1 imaticad imatusr       1722 Apr 30 16:35 168_HOUR_LIABILITY.dat
-rwxr-xr-x 1 imaticad imatusr       5166 May  4 17:48 abccodcg.dat
-rwxr-xr-x 1 imaticad imatusr   27078212 May  8 03:01 activpts.dat
-rwxr-xr-x 1 imaticad imatusr    1986160 May  8 06:13 actvshp.dat
-rwxr-xr-x 1 imaticad imatusr    1215228 May  3 20:01 allempl.dat
-rwxr-xr-x 1 imaticad imatusr    3268000 May  6 05:33 allrplns.dat
-rwxr-xr-x 1 imaticad imatusr    4166928 May  6 12:17 arodat.dat
-rwxr-xr-x 1 imaticad imatusr     251340 Jul 18  2015 asasm.dat
-rwxr-xr-x 1 imaticad imatusr     128444 Jul 18  2015 asmdt.dat
-rwxr-xr-x 1 imaticad imatusr      98560 Jul 18  2015 asmlst.dat
-rwxr-xr-x 1 imaticad imatusr  129503679 May  8 01:08 autopo.dat
-rwxr-xr-x 1 imaticad imatusr   17246872 May  5 21:09 b26rept.dat
-rwxr-xr-x 1 imaticad imatusr    8600946 May  8 11:09 bin.dat
-rwxr-xr-x 1 imaticad imatusr     924150 May  6 05:08 blankpo.dat
-rwxr-xr-x 1 imaticad imatusr       4288 May  7 18:30 bldg.dat
-rwxr-xr-x 1 imaticad imatusr    5297776 May  6 06:23 buymatl.dat
-rwxr-xr-x 1 imaticad imatusr     850766 May  7 18:43 buysht.dat
-rwxr-xr-x 1 imaticad imatusr    1166893 Jul 18  2015 c01asadd.dat
-rwxr-xr-x 1 imaticad imatusr     550057 Jul 18  2015 c01asasm.dat
-rwxr-xr-x 1 imaticad imatusr     252888 Jul 19  2015 c11det.dat
-rwxr-xr-x 1 imaticad imatusr   66210872 Jul 19  2015 c11mtl.dat
-rwxr-xr-x 1 imaticad imatusr    1648218 Jul 19  2015 c11nar.dat
-rwxr-xr-x 1 imaticad imatusr     148000 May  6 06:27 casb1.dat
-rwxr-xr-x 1 imaticad imatusr      16000 May  6 06:28 CASB2.DAT
-rwxr-xr-x 1 imaticad imatusr      11250 May  6 06:28 CASB3.DAT
-rwxr-xr-x 1 imaticad imatusr      11016 May  6 06:28 CASB4.DAT
-rwxr-xr-x 1 imaticad imatusr       2346 May  6 06:28 CASB5.DAT
-rwxr-xr-x 1 imaticad imatusr     186500 May  6 06:29 CASM1.DAT
-rwxr-xr-x 1 imaticad imatusr       4750 May  6 06:29 CASM2.DAT
-rwxr-xr-x 1 imaticad imatusr       5250 May  6 06:29 CASM3.DAT
-rwxr-xr-x 1 imaticad imatusr       2856 May  6 06:29 CASM4.DAT
-rwxr-xr-x 1 imaticad imatusr       3162 May  6 06:30 CASM5.DAT
-rwxr-xr-x 1 imaticad imatusr    1459592 May  7 23:13 casnest.dat
-rwxr-xr-x 1 imaticad imatusr      67320 May  8 06:09 caspo.dat
-rwxr-xr-x 1 imaticad imatusr     494015 May  7 18:45 casqt.dat
-rwxr-xr-x 1 imaticad imatusr   37448319 May  6 06:24 casrepl.dat
-rwxr-xr-x 1 imaticad imatusr   37349383 May  8 03:08 casrepld.dat
-rwxr-xr-x 1 imaticad imatusr   49297297 May  6 05:41 casrt.dat
-rwxr-xr-x 1 imaticad imatusr   13157508 May  7 03:53 catlg.dat
-rwxr-xr-x 1 imaticad imatusr     338086 May  5 08:01 cbuy.dat
-rwxr-xr-x 1 imaticad imatusr   67203943 Jul 19  2015 chmwmr.dat
-rwxr-xr-x 1 imaticad imatusr       3328 May  7 18:31 coebldgs.dat
-rwxr-xr-x 1 imaticad imatusr        804 May  7 18:30 coe.dat
-rwxr-xr-x 1 imaticad imatusr    2577162 May  5 08:36 commonpd.dat
-rwxr-xr-x 1 imaticad imatusr      61788 May  7 18:31 comp.dat
-rwxr-xr-x 1 imaticad imatusr    3405542 May  8 05:06 CPD.DAT
-rwxr-xr-x 1 imaticad imatusr        378 May  8 04:01 CSC.DAT
-rwxr-xr-x 1 imaticad imatusr     207788 Sep 28  2017 csfcpars.dat
-rwxr-xr-x 1 imaticad imatusr       9261 May  8 09:01 CUSP.DAT
-rwxr-xr-x 1 imaticad imatusr    1826860 May  7 23:31 daysfwd1.dat
-rwxr-xr-x 1 imaticad imatusr    6490666 May  7 18:45 delvr.dat
-rwxr-xr-x 1 imaticad imatusr         10 May  6 06:05 dfdate.dat
-rwxr-xr-x 1 imaticad imatusr    2705836 May  6 06:05 dfwd.dat
-rwxr-xr-x 1 imaticad imatusr   24216732 May  8 00:39 dmrdesc.dat
-rwxr-xr-x 1 imaticad imatusr   63105856 May  8 00:35 dmrmain.dat
-rwxr-xr-x 1 imaticad imatusr    5286688 May  8 00:39 dmrsers.dat
-rwxr-xr-x 1 imaticad imatusr   91451568 May  8 03:13 dwgrev.dat
-rwxr-xr-x 2 imaticad imatusr     473724 May  8 03:01 dwgrevun12.dat
-rwxr-xr-x 2 imaticad imatusr     473724 May  8 03:01 dwgrevun.dat
-rwxr-xr-x 1 imaticad imatusr     333295 May  7 21:01 edisp.dat
-rwxr-xr-x 1 imaticad imatusr     422991 Mar  9 09:35 eedet.dat
-rwxr-xr-x 1 imaticad imatusr     501320 Mar  9 09:35 eesum.dat
-rwxr-xr-x 1 imaticad imatusr 4879522437 Aug 13  2015 eewksum.dat
-rwxr-xr-x 1 imaticad imatusr       2756 May  5 08:00 elecsig.dat
-rwxr-xr-x 1 imaticad imatusr          0 May  7 17:00 encistatus.txt
-rwxr-xr-x 1 imaticad imatusr    2206224 May  4 05:34 erminix23.dat
-rwxr-xr-x 1 imaticad imatusr   15145704 May  3 15:07 erpltempl.dat
-rwxr-xr-x 1 imaticad imatusr   18104485 May  8 00:28 erprodrefr.dat
-rwxr-xr-x 1 imaticad imatusr    1921226 Sep 28  2017 erwmedsext.dat
-rwxr-xr-x 1 imaticad imatusr    1938430 May  6 12:24 EXCESMTL.DAT
-rwxr-xr-x 1 imaticad imatusr    2665563 May  6 06:15 excess.dat
-rwxr-xr-x 1 imaticad imatusr        561 May  8 03:00 expindl.dat
-rwxr-xr-x 1 imaticad imatusr  264508590 May  5 02:16 expl1lva.dat
-rwxr-xr-x 1 imaticad imatusr  266510687 May  5 02:17 expl1lvb.dat
-rwxr-xr-x 1 imaticad imatusr    1075386 May  4 23:00 explin.dat
-rwxr-xr-x 1 imaticad imatusr  697784002 Mar  9  2016 explot1.dat
-rwxr-xr-x 1 imaticad imatusr   30706376 Mar  8  2017 EXPLOT1_TEST.DAT
-rwxr-xr-x 1 imaticad imatusr  870587030 May  5 18:16 explot.dat
-rwxr-xr-x 1 imaticad imatusr  212258736 May  8 04:17 expotdl.dat
-rwxr-xr-x 1 imaticad imatusr   45105515 Jul 18  2015 f01add.dat
-rwxr-xr-x 1 imaticad imatusr    5650827 Jul 18  2015 f01asadd.dat
-rwxr-xr-x 1 imaticad imatusr    2323776 Jul 18  2015 f01asdet.dat
-rwxr-xr-x 1 imaticad imatusr    9718834 Jul 18  2015 f01asm.dat
-rwxr-xr-x 1 imaticad imatusr    1050780 Jul 18  2015 f01asspc.dat
-rwxr-xr-x 1 imaticad imatusr   17842872 Jul 18  2015 f01det.dat
-rwxr-xr-x 1 imaticad imatusr    8846223 Jul 18  2015 f01spc.dat
-rwxr-xr-x 1 imaticad imatusr      71972 Jul 19  2015 f07act.dat
-rwxr-xr-x 1 imaticad imatusr      29900 Jul 19  2015 f07loc.dat
-rwxr-xr-x 1 imaticad imatusr      70470 Jul 18  2015 f07y11.dat
-rwxr-xr-x 1 imaticad imatusr   82454827 Jul 19  2015 f11add.dat
-rwxr-xr-x 1 imaticad imatusr  106877400 Jul 19  2015 f11aut.dat
-rwxr-xr-x 1 imaticad imatusr  789445755 Jul 19  2015 f11det.dat
-rwxr-xr-x 1 imaticad imatusr  896716722 Jul 19  2015 f11nar.dat
-rwxr-xr-x 1 imaticad imatusr     362195 Jul 19  2015 f11vch.dat
-rwxr-xr-x 1 imaticad imatusr  186293696 Jul 20  2015 f16polr.dat
-rwxr-xr-x 1 imaticad imatusr    5613895 Aug  9  2015 f19bin.dat
-rwxr-xr-x 1 imaticad imatusr   11657304 Jul 19  2015 f19chk.dat
-rwxr-xr-x 1 imaticad imatusr  157512432 Jul 19  2015 f19dtlwh.dat
-rwxr-xr-x 1 imaticad imatusr   17245806 Aug  9  2015 f19mfg.dat
-rwxr-xr-x 1 imaticad imatusr   24780616 Aug  9  2015 f19spec.dat
-rwxr-xr-x 1 imaticad imatusr   50749066 Aug  9  2015 f19whse.dat
-rwxr-xr-x 1 imaticad imatusr  497433024 Jul 20  2015 f21rec.dat
-rwxr-xr-x 1 imaticad imatusr      58548 May  4 05:34 finpr.dat
-rwxr-xr-x 1 imaticad imatusr        242 May  7 00:02 fiscalwh.dat
-rwxr-xr-x 1 imaticad imatusr   34239996 May  8 02:03 gagas.dat
-rwxr-xr-x 1 imaticad imatusr  141943178 May  8 02:02 gagce.dat
-rwxr-xr-x 1 imaticad imatusr    3189478 May  8 02:01 gagpo.dat
-rwxr-xr-x 1 imaticad imatusr     126846 May  8 02:00 gagsi.dat
-rwxr-xr-x 1 imaticad imatusr  148493903 May  8 02:02 gagwp.dat
-rwxr-xr-x 1 imaticad imatusr     113240 May  8 10:20 gewkdet.dat
-rwxr-xr-x 1 imaticad imatusr      17544 May  8 10:20 gewkres.dat
-rwxr-xr-x 1 imaticad imatusr    1546636 Sep 27  2017 HOURS.DAT
-rwxr-xr-x 1 imaticad imatusr     945585 May  8 00:10 hsrallempl.dat
-rwxr-xr-x 1 imaticad imatusr      76908 May  8 11:03 inqbnwh.dat
-rwxr-xr-x 1 imaticad imatusr    3294060 May  7 23:16 invhst.dat
-rwxr-xr-x 1 imaticad imatusr       9928 Feb 26  2014 jpostlim.csv
-rwxr-xr-x 1 imaticad imatusr     535092 May  8 01:37 kanban.dat
-rwxr-xr-x 1 imaticad imatusr          0 Jul 20  2015 labvch.dat
-rwxr-xr-x 1 imaticad imatusr  329963425 Aug  9  2015 lidtlrec.dat
-rwxr-xr-x 1 imaticad imatusr          0 May  7 03:57 lineprd.dat
-rwxr-xr-x 1 imaticad imatusr       2624 May  8 03:40 LLNSPV.DAT
-rwxr-xr-x 1 imaticad imatusr     109832 May  8 00:00 loadbuyerdata.dat
-rwxr-xr-x 1 imaticad imatusr    6718992 May  8 00:00 loadsupplierdata.dat
-rwxr-xr-x 1 imaticad imatusr    2635496 May  6 06:23 makematl.dat
-rwxr-xr-x 1 imaticad imatusr    2289144 Jul 20  2015 mmfp48.dat
-rwxr-xr-x 1 imaticad imatusr       6888 May  8 03:00 mrpapprv.dat
-rwxr-xr-x 1 imaticad imatusr       6642 May  8 03:00 mrpresch.dat
-rwxr-xr-x 1 imaticad imatusr    4368000 May  8 03:40 msext.dat
-rwxr-xr-x 1 imaticad imatusr      28700 Jan  5  2016 NAPV503.DAT
-rwxr-xr-x 1 imaticad imatusr      16810 Jan 11  2016 NAPV519.DAT
-rwxr-xr-x 1 imaticad imatusr     132886 Nov 25 21:10 NSTD.DAT
-rwxr-xr-x 1 imaticad imatusr    4676164 May  8 01:36 oashrtgs.dat
-rwxr-xr-x 1 imaticad imatusr    3744900 May  7 18:41 onhdep.dat
-rwxr-xr-x 1 imaticad imatusr   41689648 May  4 10:04 oraclerpt.dat
-rwxr-xr-x 1 imaticad imatusr          0 Sep 27  2017 ORGAN.DAT
-rwxr-xr-x 1 imaticad imatusr          0 Aug  3  2014 paidn.dat
-rwxr-xr-x 1 imaticad imatusr  104434944 May  8 00:24 PANCARD.DAT
-rwxr-xr-x 1 imaticad imatusr 6994868450 Apr  7 13:47 payhist.dat
-rwxr-xr-x 1 imaticad imatusr  680458647 Jan  1  2015 pcscc2014bkp.dat
-rwxr-xr-x 1 imaticad imatusr  564303494 May  8 04:55 pcscc.dat
-rwxr-xr-x 1 imaticad imatusr  129913542 May  8 04:52 pcsc.dat
-rwxr-xr-x 1 imaticad imatusr   32980424 May  8 11:32 PCSMAT.DAT
-rwxr-xr-x 1 imaticad imatusr   15892584 May  6 21:12 pdbin.dat
-rwxr-xr-x 1 imaticad imatusr      59805 Nov 18  2016 per010.dat
-rwxr-xr-x 1 imaticad imatusr       1080 Oct 20  2016 per066.dat
-rwxr-xr-x 1 imaticad imatusr       1485 Oct 28  2016 per067.dat
-rwxr-xr-x 1 imaticad imatusr     209664 Jul 20  2015 perad.dat
-rwxr-xr-x 1 imaticad imatusr   61564910 Jul 20  2015 permac19.dat
-rwxr-xr-x 1 imaticad imatusr       5600 Jul 20  2015 permr.dat
-rwxr-xr-x 1 imaticad imatusr      56480 Jul 20  2015 perpr.dat
-rwxr-xr-x 1 imaticad imatusr    1184916 Jul 20  2015 perpt.dat
-rwxr-xr-x 1 imaticad imatusr    1861944 Jul 20  2015 perwa.dat
-rwxr-xr-x 1 imaticad imatusr    1541876 Jul 20  2015 perwd.dat
-rwxr-xr-x 1 imaticad imatusr     658932 Jul 20  2015 perwj.dat
-rwxr-xr-x 1 imaticad imatusr      63910 Jul 20  2015 perwk.dat
-rwxr-xr-x 1 imaticad imatusr    1807497 Jul 20  2015 perwm.dat
-rwxr-xr-x 1 imaticad imatusr    6738312 Jul 20  2015 perwp.dat
-rwxr-xr-x 1 imaticad imatusr     227222 Jul 20  2015 perwz.dat
-rwxr-xr-x 1 imaticad imatusr          0 Jul 20  2015 pevch.dat
-rwxr-xr-x 1 imaticad imatusr  110674192 Oct  2  2017 phyinv.dat
-rwxr-xr-x 1 imaticad imatusr      27120 Sep 28  2017 phyinvo.dat
-rwxr-xr-x 1 imaticad imatusr      61560 Sep 29  2016 phyinvog.dat
-rwxr-xr-x 1 imaticad imatusr    1107600 Sep 28  2017 phyinvu.dat
-rwxr-xr-x 1 imaticad imatusr     531720 Sep 29  2016 phyinvug.dat
-rwxr-xr-x 1 imaticad imatusr     319966 May  7 17:30 plnr.dat
-rwxr-xr-x 1 imaticad imatusr     312273 Oct 21  2015 plnr.dat.filepart
-rwxr-xr-x 1 imaticad imatusr    1218854 May  7 00:07 plnrsum.dat
-rwxr-xr-x 1 imaticad imatusr    7659736 May  6 06:13 plstat.dat
-rwxr-xr-x 1 imaticad imatusr          0 Jul 20  2015 pmacjes.dat
-rwxr-xr-x 1 imaticad imatusr  102994745 Jul 19  2015 pmcce.dat
-rwxr-xr-x 1 imaticad imatusr  126551950 Aug  9  2015 podtlrec.dat
-rwxr-xr-x 1 imaticad imatusr       5450 May  8 00:15 poexr.dat
-rwxr-xr-x 1 imaticad imatusr  850111200 Apr 21 09:51 pohst.dat
-rwxr-xr-x 1 imaticad imatusr   27761762 May  6 03:23 poinf.dat
-rwxr-xr-x 1 imaticad imatusr      91298 May  8 11:22 POINFUP.DAT
-rwxr-xr-x 1 imaticad imatusr  662209778 May  8 01:20 potrg.dat
-rwxr-xr-x 1 imaticad imatusr     602126 Jul 18  2015 prcae.dat
-rwxr-xr-x 1 imaticad imatusr       8645 Jul 18  2015 prccr.dat
-rwxr-xr-x 1 imaticad imatusr       3069 Jul 18  2015 prcft.dat
-rwxr-xr-x 1 imaticad imatusr       7009 Jul 18  2015 prcrw.dat
-rwxr-xr-x 1 imaticad imatusr     594648 Jul 18  2015 premp.dat
-rwxr-xr-x 1 imaticad imatusr      25908 Jul 18  2015 prkwd.dat
-rwxr-xr-x 1 imaticad imatusr     118916 Jul 18  2015 prmfg.dat
-rwxr-xr-x 1 imaticad imatusr     279015 Jul 20  2015 prmwt.dat
-rwxr-xr-x 1 imaticad imatusr      25650 Jul 18  2015 prpyn.dat
-rwxr-xr-x 1 imaticad imatusr     167018 Jul 18  2015 prrqr.dat
-rwxr-xr-x 1 imaticad imatusr   10919090 Apr  8 13:10 prtbuy.dat
-rwxr-xr-x 1 imaticad imatusr  517389204 May  4 21:14 pshist.dat
-rwxr-xr-x 1 imaticad imatusr      52726 May  7 21:00 psradmn.dat
-rwxr-xr-x 1 imaticad imatusr  868880628 May  8 03:01 ptinfo.dat
-rwxr-xr-x 1 imaticad imatusr 3971457772 May  8 01:04 purqt.dat
-rwxr-xr-x 1 imaticad imatusr   19410160 Nov 17  2015 purqt.dat.filepart
-rwxr-xr-x 1 imaticad imatusr    1204128 Apr 15  2014 purqtest.dat
-rwxr-xr-x 1 imaticad imatusr    2979048 May  7 23:10 replens.dat
-rwxr-xr-x 1 imaticad imatusr   68449392 May  6 06:10 reqmt.dat
-rwxr-xr-x 1 imaticad imatusr   20940812 May  6 06:02 REQSTS.DAT
-rwxr-xr-x 1 imaticad imatusr    2304336 May  6 06:02 REQSTSS.DAT
-rwxr-xr-x 1 imaticad imatusr     451656 May  8 03:09 revcot.dat
-rwxr-xr-x 1 imaticad imatusr  854703552 Aug  9  2015 rldtlrec.dat
-rwxr-xr-x 1 imaticad imatusr     689520 May  7 00:45 rpsship1.dat
-rwxr-xr-x 1 imaticad imatusr     219690 May  6 03:00 safhrs.dat
-rwxr-xr-x 1 imaticad imatusr    5448656 May  8 11:05 scrapget.dat
-rwxr-xr-x 1 imaticad imatusr     343914 May  5 08:04 secadsa.dat
-rwxr-xr-x 1 imaticad imatusr     223668 May  5 08:04 secgrp.dat
-rwxr-xr-x 1 imaticad imatusr     369692 May  5 08:04 secpay.dat
-rwxr-xr-x 1 imaticad imatusr  513195969 May  7 02:06 serialnm.dat
-rwxr-xr-x 1 imaticad imatusr  129410538 May  8 09:09 SFCEXT.DAT
-rwxr-xr-x 1 imaticad imatusr   18075474 May  8 06:13 shiphist.dat
-rwxr-xr-x 1 imaticad imatusr   17513088 May  6 05:46 sirrt.dat
-rwxr-xr-x 1 imaticad imatusr    9307791 May  8 11:00 snextractdata.dat
-rwxr-xr-x 1 imaticad imatusr     873450 May  7 18:38 SOREQEXT.DAT
-rwxr-xr-x 1 imaticad imatusr   47344584 May  8 00:19 sscard.dat
-rwxr-xr-x 1 imaticad imatusr   25466544 May  5 01:13 ssip.dat
-rwxr-xr-x 1 imaticad imatusr          0 May  8 00:32 ssitems.dat
-rwxr-xr-x 1 imaticad imatusr     147839 May  8 11:00 ssoget.dat
-rwxr-xr-x 1 imaticad imatusr      67814 May  8 11:01 ssospv.dat
-rwxr-xr-x 1 imaticad imatusr   82495226 May  8 00:23 sspanel.dat
-rwxr-xr-x 1 imaticad imatusr   12952047 May 20  2014 sspanel.zip
-rwxr-xr-x 1 imaticad imatusr    1982514 May  7 23:01 stkbin.dat
-rwxr-xr-x 1 imaticad imatusr     868762 May  8 04:31 stkoh.dat
-rwxr-xr-x 1 imaticad imatusr      39832 May  7 23:01 stkrm.dat
-rwxr-xr-x 1 imaticad imatusr      95420 Apr 16 00:15 stmgr.dat
-rwxr-xr-x 1 imaticad imatusr       3997 May  8 04:00 stonhd.dat
-rwxr-xr-x 1 imaticad imatusr      30636 May  8 03:01 suppcomp.dat
-rwxr-xr-x 1 imaticad imatusr    2688516 May  8 00:33 supplier.dat
-rwxr-xr-x 1 imaticad imatusr   30091820 Jan  5  2016 taabsc.dat
-rwxr-xr-x 1 imaticad imatusr      40672 Jan 11  2016 tadh.dat
-rwxr-xr-x 1 imaticad imatusr     292152 Jan  5  2016 taovt.dat
-rwxr-xr-x 1 imaticad imatusr   19451307 Jan  5  2016 tapers.dat
-rwxr-xr-x 1 imaticad imatusr   29991215 Aug 11  2015 timeattendanceabsencetime.dat
-rwxr-xr-x 1 imaticad imatusr   97986820 Aug 11  2015 timeattendanceallwkhrs.dat
-rwxr-xr-x 1 imaticad imatusr   21520572 Aug 11  2015 timepersonalattendance.dat
-rwxr-xr-x 1 imaticad imatusr        616 May  6 12:00 timepunches.dat
-rwxr-xr-x 1 imaticad imatusr       2465 Mar  9 09:30 timevch.dat
-rwxr-xr-x 1 imaticad imatusr        616 Sep 20  2017 TNA.DAT
-rwxr-xr-x 1 imaticad imatusr  574377300 Jan 11  2016 tnadh.dat
-rwxr-xr-x 1 imaticad imatusr       3690 Oct 30  2017 tnaw.dat
-rwxr-xr-x 1 imaticad imatusr  102339984 Oct 30  2017 tnaweekh.dat
-rwxr-xr-x 1 imaticad imatusr  102682420 Jan  7  2016 tnawh.dat
-rwxr-xr-x 1 imaticad imatusr    7127522 Jan  7  2016 tnay.dat
-rwxr-xr-x 1 imaticad imatusr    7127522 Oct 30  2017 tnaytd.dat
-rwxr-xr-x 1 imaticad imatusr          0 Jun 11  2014 tnlexpr.dat
-rwxr-xr-x 1 imaticad imatusr    2778551 May  6 05:04 tnprint.dat
-rwxr-xr-x 1 imaticad imatusr    5784055 May  6 05:04 tprint.dat
-rwxr-xr-x 1 imaticad imatusr    1065216 May  8 03:42 tranmtl.dat
-rwxr-xr-x 1 imaticad imatusr      39286 Mar  9 09:35 trfile.dat
-rwxr-xr-x 1 imaticad imatusr          0 May  8 10:01 TSUPVSR1.DAT
-rwxr-xr-x 1 imaticad imatusr          0 May  8 10:02 TSUPVSR2.DAT
-rwxr-xr-x 1 imaticad imatusr          0 Aug  3  2014 unpaidn.dat
-rwxr-xr-x 1 imaticad imatusr      13348 Aug  9  2015 uomzi.dat
-rwxr-xr-x 1 imaticad imatusr  235059084 May  6 21:01 usaghist.dat
-rwxr-xr-x 1 imaticad imatusr      11220 May  7 22:25 vendnew.dat
-rwxr-xr-x 1 imaticad imatusr    2270638 Aug  9  2015 vendorw1.dat
-rwxr-xr-x 1 imaticad imatusr   33989936 May  7 22:25 vendpart.dat
-rwxr-xr-x 1 imaticad imatusr     541512 May  7 00:52 venrq.dat
-rwxr-xr-x 1 imaticad imatusr    8350306 May  6 01:52 wlhrdt.dat
-rwxr-xr-x 1 imaticad imatusr    2026008 May  7 21:02 WRKINF.DAT
-rwxr-xr-x 1 imaticad imatusr     590728 May  7 21:02 WRKSUP.DAT
-rwxr-xr-x 1 imaticad imatusr   89165865 May  6 06:11 wureq.dat
-rwxr-xr-x 1 imaticad imatusr   89354046 May  8 03:40 wureqd.dat
# 

# cd ..
# pwd
/infa_shared/imatica/cas_data
#
# chmod 777 /infa_shared/imatica/cas_data/data
chmod: changing permissions of `/infa_shared/imatica/cas_data/data': Permission denied
#
# chmod 777 data
chmod: changing permissions of `data': Permission denied
#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

pwd

/infa_shared/imatica/cas_data #

setfacl -R -m u:root:rwx /infa_shared/imatica/cas_data/data

setfacl: /infa_shared/imatica/cas_data/data: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/168_HOUR_LIABILITY (2).dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/168_HOUR_LIABILITY.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/abccodcg.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/activpts.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/actvshp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/allempl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/allrplns.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/arodat.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/asasm.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/asmdt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/asmlst.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/autopo.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/b26rept.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/bin.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/blankpo.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/bldg.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/buymatl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/buysht.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/c01asadd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/c01asasm.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/c11det.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/c11mtl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/c11nar.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/casb1.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASB2.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASB3.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASB4.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASB5.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASM1.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASM2.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASM3.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASM4.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CASM5.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/casnest.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/caspo.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/casqt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/casrepl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/casrepld.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/casrt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/catlg.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/cbuy.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/chmwmr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/coe.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/coebldgs.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/commonpd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/comp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CPD.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CSC.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/csfcpars.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/CUSP.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/daysfwd1.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/delvr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dfdate.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dfwd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dmrdesc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dmrmain.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dmrsers.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dwgrev.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dwgrevun.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/dwgrevun12.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/edisp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/eedet.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/eesum.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/eewksum.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/elecsig.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/encistatus.txt: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/erminix23.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/erpltempl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/erprodrefr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/erwmedsext.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/EXCESMTL.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/excess.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/expindl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/expl1lva.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/expl1lvb.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/explin.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/explot.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/explot1.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/EXPLOT1_TEST.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/expotdl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01add.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01asadd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01asdet.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01asm.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01asspc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01det.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f01spc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f07act.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f07loc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f07y11.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f11add.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f11aut.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f11det.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f11nar.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f11vch.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f16polr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f19bin.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f19chk.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f19dtlwh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f19mfg.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f19spec.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f19whse.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/f21rec.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/finpr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/fiscalwh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gagas.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gagce.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gagpo.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gagsi.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gagwp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gewkdet.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/gewkres.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/HOURS.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/hsrallempl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/inqbnwh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/invhst.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/jpostlim.csv: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/kanban.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/labvch.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/lidtlrec.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/lineprd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/LLNSPV.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/loadbuyerdata.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/loadsupplierdata.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/makematl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/mmfp48.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/mrpapprv.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/mrpresch.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/msext.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/NAPV503.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/NAPV519.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/NSTD.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/oashrtgs.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/onhdep.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/oraclerpt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/ORGAN.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/paidn.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/PANCARD.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/payhist.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pcsc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pcscc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pcscc2014bkp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/PCSMAT.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pdbin.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/per010.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/per066.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/per067.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perad.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/permac19.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/permr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perpr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perpt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwa.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwj.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwk.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwm.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/perwz.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pevch.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/phyinv.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/phyinvo.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/phyinvog.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/phyinvu.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/phyinvug.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/plnr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/plnr.dat.filepart: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/plnrsum.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/plstat.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pmacjes.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pmcce.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/podtlrec.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/poexr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pohst.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/poinf.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/POINFUP.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/potrg.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prcae.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prccr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prcft.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prcrw.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/premp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prkwd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prmfg.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prmwt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prpyn.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prrqr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/prtbuy.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/pshist.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/psradmn.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/ptinfo.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/purqt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/purqt.dat.filepart: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/purqtest.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/replens.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/reqmt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/REQSTS.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/REQSTSS.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/revcot.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/rldtlrec.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/rpsship1.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/safhrs.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/scrapget.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/secadsa.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/secgrp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/secpay.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/serialnm.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/SFCEXT.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/shiphist.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/sirrt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/snextractdata.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/SOREQEXT.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/sscard.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/ssip.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/ssitems.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/ssoget.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/ssospv.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/sspanel.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/sspanel.zip: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/stkbin.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/stkoh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/stkrm.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/stmgr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/stonhd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/suppcomp.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/supplier.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/taabsc.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tadh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/taovt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tapers.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/timeattendanceabsencetime.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/timeattendanceallwkhrs.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/timepersonalattendance.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/timepunches.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/timevch.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/TNA.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnadh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnaw.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnaweekh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnawh.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnay.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnaytd.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnlexpr.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tnprint.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tprint.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/tranmtl.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/trfile.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/TSUPVSR1.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/TSUPVSR2.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/unpaidn.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/uomzi.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/usaghist.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/vendnew.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/vendorw1.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/vendpart.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/venrq.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/wlhrdt.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/WRKINF.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/WRKSUP.DAT: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/wureq.dat: Operation not supported setfacl: /infa_shared/imatica/cas_data/data/wureqd.dat: Operation not supported # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi Masood,

It is still wrong, it is not : setfacl -R -m u:root:rwx /infa_shared/imatica/cas_data/data
Instead : sudo setfacl -R -m u:<your-user-name>:rwx /infa_shared/imatica/cas_data

Also, is the disk or the partition formatted with a non native linux file system (like ext4) ?
When the disk or the partition is formatted with ntfs for example, setfacl does not work.

Regards,
Christian

same result when used with user account name instead of root I am root. i tried with imatusr - may be this is the application user account name

[root@cihctsdappa484 cas_data]# setfacl -R -m u:imatusr:rwx /infa_shared/imatica/cas_data/data
setfacl: /infa_shared/imatica/cas_data/data: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/168_HOUR_LIABILITY (2).dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/168_HOUR_LIABILITY.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/abccodcg.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/activpts.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/actvshp.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/allempl.dat: Operation not supported

Hi Masood,

Why do you always type : /infa_shared/imatica/cas_data/data ?
Once again - instead it must be : /infa_shared/imatica/cas_data

Regards,
Christian

# ls -l |grep data
drwxr-xr-x 0 imaticad imatusr       0 Apr 23 10:34 data =================> issue directory. need to change its permissions to 777
-rwxr-xr-x 1 imaticad imatusr    1058 Oct 16  2014 loadbuyerdata.bat
-rwxr-xr-x 1 imaticad imatusr    2744 Oct 16  2014 loadsupplierdata.bat
# su imatusr
bash: /home/imatusr/.bashrc: Permission denied
bash-4.1$ cat /etc/passwd | grep imatusr
imatusr:x:58650:58649::/home/imatusr:/bin/bash
bash-4.1$
bash-4.1$ whoami
imatusr
bash-4.1$ 
bash-4.1$ setfacl -R -m u:imatusr:rwx /infa_shared/imatica/cas_data/data
setfacl: /infa_shared/imatica/cas_data/data: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/168_HOUR_LIABILITY (2).dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/168_HOUR_LIABILITY.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/abccodcg.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/activpts.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/actvshp.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/allempl.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/allrplns.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/arodat.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/asasm.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/asmdt.dat: Operation not supported
setfacl: /infa_shared/imatica/cas_data/data/asmlst.dat: Operation not supported

this directory is inside a mount point which is coming from network shared drive

//sqlapp.trans.ge.com/cas_data 250G 64G 187G 26% /infa_shared/imatica/cas_data

selected a random file inside that directory and I see this

# df -T /infa_shared/imatica/cas_data/data/dfdate.dat
Filesystem           Type 1K-blocks     Used Available Use% Mounted on
//sqlapp.trans.ge.com/cas_data
                     cifs 262140924 66075116 196065808  26% /infa_shared/imatica/cas_data
# 

tried (1) bash-4.1$ setfacl -R -m u:imatusr:rwx /infa_shared/imatica/cas_data .

and

(2) bash-4.1$ setfacl -R -m u:imatusr:rwx /infa_shared/imatica/cas_data

this time got a very long output...same result

setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/bcp_in.err: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/Copy of tsupvsr.fmt: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/Copy of tsupvsr1.fmt: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/tobedeleted: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/tobedeleted/Copy of ssofeed.cmd: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/tobedeleted/create.sql: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/tobedeleted/drop.sql: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/tobedeleted/insert.sql: Operation not supported setfacl: /infa_shared/imatica/cas_data/tables/Temp_Supervisor/tobedeleted/query.sql: Operation not supported

Hi Masood,

The first command failed because of the full stop you put at the end; regarding "Operation not supported" :
As I said before, when the disk or the partition is formatted with ntfs for example, setfacl does not work.
I am not sure what's going on here ... is the system user the owner of that data directory or someone else ?

Regards,
Christian

Christian many thanks so far for you time. I will work on this tomorrow again after 15 hours from now :) I guess cifs is a strange file system here ?

You're welcome Masood ! :)

Well, I don't know - CIFS might be the culprit - You can try to change the owner of the data directory.
Maybe you are able to change the permissions afterwards, not sure though, I never worked with CIFS.

Regards,
Christian

Whatever the output of 'ls -l' is a file or a folder, the second column means the number of hard links for the file or folder. But for CIFS, Linux could not measure how much links for it. In order to change the CIFS permission, you could try to change the permission when mouting the CIFS folder, like "mount -t cifs -o username=,password=,dir_mode=0777,file_mode=0777 //WIN_PC_IP/ /mnt"

Some links related to this: https://access.redhat.com/solutions/2275051 https://access.redhat.com/solutions/448263

Hi Masood,

First, regarding the error 'Operation not supported setfacl', it is mostly because the 'acl' feature is not supported on the respective file system or not enabled. So, what I'd do is to run the mount command straightway and check out if acl shows up there, otherwise, in case of ext3/4 file systems, I could run "tune2fs" command (example: tune2fs -l /dev/sda1 | grep "Default mount option") which would show if it is mounted with 'acl' attribute. Otherwise, remount it with acl and it to fstab entry.

Second point is that since it is network file system 'cifs', check out the KB articles that 'Bo Liu' pointed out and try to set directory permissions while mounting.

All the best.

Thanks Bo and Sada

Just an update for you all The directory is on a mount point which comes(shared) from a windows system (cifs file system is a windows file system) we cannot change the dir perms from unix so - the task has been shofted to windows team :)

Thanks for clarification, Masood ! :)

Regards,
Christian

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.