M
M
mrAibo2016-01-22 12:49:09
linux
mrAibo, 2016-01-22 12:49:09

Linux: Permission denied even with 777 permissions. Where is the mistake?

Good time of the day. I encountered the following error:
As we can see, the rights on the file for the streamp user are set to RW

[email protected] /streamserve/stream5/NP/uc4 # ll /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336
-rw-rw-r-- 1 streamp sapsys 1170395 Jan 22 03:17 /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336

We switch to this user and get access denied:
[email protected] /streamserve/stream5/NP/uc4 # su streamp
[email protected]:/streamserve/stream5/NP/uc4> ls /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336
/bin/ls: /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336: Permission denied

Even with 777 there is no access
[email protected] /streamserve/stream5/NP/uc4 # chmod 777 /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336
[email protected] /streamserve/stream5/NP/uc4 # su streamp
[email protected]:/streamserve/stream5/NP/uc4> ls /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336
/bin/ls: /streamserve/stream5/NP/uc4/0137678630.ZZCMXSF00_20160122.031336: Permission denied

Does anyone know how to solve the problem?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
mrAibo, 2016-01-22
@mrAibo

The colleague freaked out and gave the rights to the directory:

[email protected]:/streamserve/stream5/NP> ll -d uc4
drwxrwxr-x 2 streamp sapsys 20480 Jan 22 09:16 uc4

Crap, of course, but now it works ...

A
alexxandr, 2016-01-22
@alexxandr

check directory permissions

A
Alexey, 2016-01-22
@akeinhell

chown -R streamp: /streamserve/stream5/NP
chmod -R a+w /streamserve/stream5/NP

P
planc, 2016-01-22
@planc

imgur.com/yhgZlHI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question