Answer the question
In order to leave comments, you need to log in
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
[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
[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
Answer the question
In order to leave comments, you need to log in
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
chown -R streamp: /streamserve/stream5/NP
chmod -R a+w /streamserve/stream5/NP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question