We are facing issues of permissions. scenario is
We have Federoa with Xammp server running and shared project directory for local network to create project folders for project development. Everything is good except one thing that when we create new folder on network it does not have full rights but "drwxr-xr-x" and due to this our PHP program cannot upload files. It is all about insufficient rights permissions.
Before this Fedora installation, previous one was working perfectly fine. That we were able to create folders which were having default full permissions rights to do anything.
Commands and Results:
[root@umi]# setfacl -R -d -m g::rwx -m u::rwx -m o::rwx ajax_upload [root@umi]# getfacl ajax_upload # file: ajax_upload # owner: root # group: root user::rwx group::rwx other::rwx default:user::rwx default:group::rwx default:other::rwx
Then I created a directory inside ajax_upload directory from windows platform on network sharing named "test2"
[root@umi]# getfacl ajax_upload/test2 # file: ajax_upload/test2 # owner: root # group: root user::rwx group::r-x other::r-x default:user::rwx default:group::rwx default:other::rwx
You see "group::r-x" and "other::r-x"... below is ls -ld results
[root@umi]# ls -ld ajax_upload/test2 drwxr-xr-x+ 2 root root 4096 2014-06-27 11:29 ajax_upload/test2
Can anyone suggest what we do that when we create new folder it must have full rights like "drwxrwxrwx"?