permissions - centos file creation won't work even tho 775 -


we having problem (taht have reproduced below on smaller scale), cant write file, when think should

# ls -ld testdir drwxrwxr-x 2 user1 root 4096 nov 19 12:13 testdir # groups user1 user1 : user1 foo #groups foo foo: foo user1 

but when log foo user , testdir start editor

[foo@myhost testdir]$ nano tempfile 

and try save [ error writing tempfile: permission denied ]
tho have
- set parent folder 775
- added user group owns folder
- relogged foo , user1 user

(and if change folder 777 work, dont want on webserver (it leaves backdoor open hackers replace files)

the group on testdir root not user1.

run chgrp user1 testdir , see if fixes problem.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -