filesystem files read

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

filesystem files read

Roshan
Hi Erman,

I have mounted a shared filesystem on a Linux server. The permission of files are displayed as shown below.

-rw-r-----+ 1 60075 bin      9986 Apr 27 00:04 cbs_cdr_voice_20210427_601_101_430273.add
-rw-r-----+ 1 60075 bin     16051 Apr 27 00:04 cbs_cdr_voice_20210427_601_101_430271.add
-rw-r-----+ 1 60075 bin     16911 Apr 27 00:04 cbs_cdr_voice_20210427_601_101_430272.add
-rw-r-----+ 1 60075 bin     12872 Apr 27 00:04 cbs_cdr_voice_20210427_601_101_430270.add
-rw-r-----+ 1 60075 bin     10896 Apr 27 00:04 cbs_cdr_voice_20210427_601_101_430275.add
-rw-r-----+ 1 60075 bin      9956 Apr 27 00:04 cbs_cdr_voice_20210427_601_101_430274.add
-rw-r-----+ 1 60075 bin      7968 Apr 27 00:06 cbs_cdr_voice_20210427_601_101_430281.add

Striim has been installed as user ora12c.
uid=103(ora12c) gid=100(users) groups=100(users),1(bin),10(wheel),995(striim),1002(striim_gp)

Striim is having some problems reading the file.
ile :{cbs_cdr_com_20210426_601_101_926122.add} is not found. Cause: /data2/CDR/inocs/content/cbs_cdr_com_20210426_601_101_926122.add (Permission denied)

I have added user ora12c in bin group but still Striim cannot read those files. Please suggest I can change 60075  to user ora12c?

Thanks,

Roshan
 
Reply | Threaded
Open this post in threaded view
|

Re: filesystem files read

ErmanArslansOracleBlog
Administrator
Login with ora12c and try to read the file yourself.
Can you read it?
for instance;

Read -> cat  /data2/CDR/inocs/content/cbs_cdr_com_20210426_601_101_926122.add

If you can't read the file;

*please send me the mount options that you use to mount this share.
*Send me the mount command
*Send me the permissions of the following directories:

/data2
CDR/
inocs/
content/
Reply | Threaded
Open this post in threaded view
|

Re: filesystem files read

Roshan
Hi Erman,

I cannot read the file

I do not have the mount options used to mount this share

mount 10.215.228.72:/export/cdr2/data /data2

drwxrwxr-x.   7 60034 bin           8 Mar 24 20:40 data2
drwxr-xr-x+ 50 60093 bin            54 Apr 20 09:23 CDR
drwxrwxr-x. 25 60075   101    39 Apr 25 13:13 inocs
drwxrwxrwx.  3 60075  101    472493 Apr 27 14:01 content

Thanks,

Roshan
Reply | Threaded
Open this post in threaded view
|

Re: filesystem files read

ErmanArslansOracleBlog
Administrator
Check the mount options by using the mount command
Check the export options in the source, on which you shared this nfs shared/exported this nfs share..
Probably, there is a user name mapping problem, and that's why you end up with the privileges assigned for the other (last 3 bits of the chmod) and that's why you can not read the files.

Check the following MOS note:
Step by Step - Configure Direct NFS Client (DNFS) on Linux (Doc ID 762374.1)

You gonna have to configure the export options, the all_squash, anongid, anonuid properly..