简体   繁体   English

linux文件系统中的权限问题

[英]Permission issue in linux file system

Actually, I have a directory which has full permission ( drwxrwxrwx ) but i have a process which creates a file in this directory by using another user and problem is that files which is created by process has not enough permission ( -r-xr--r-- ) that's why i am facing problem. 实际上,我有一个具有完全权限的目录( drwxrwxrwx ),但我有一个进程,通过使用另一个用户在该目录中创建一个文件,问题是由进程创建的文件没有足够的权限( -r-xr--r-- )这就是我面临问题的原因。 So, is there any way to give the permissions by which created file also have complete permissions? 那么,有没有办法给予创建文件也具有完整权限的权限?

One more thing we would like to highlight that the process which creates this file is Informatica workflow . 还有一件事我们想强调创建此文件的过程是Informatica工作流程

Please assist. 请协助。

您可以在会话后使用命令chmod 777 <filename>来使用命令任务

Try setGID bit.Change the permission to 2770 on the directory. 尝试setGID bit。将权限更改为目录上的2770。 This will give specials permissions and your file has necessary permissions. 这将赋予特殊权限,并且您的文件具有必要的权限。 chmod 2770 chmod 2770

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM