Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所有者が 2 人のフォルダを作成するにはどうすればよいですか?
"ftpuser" と "apache" の 2 人のユーザーの権限を持つフォルダーが必要です。これどうやってするの?
私のOSはCentos5.9です。
できません。ただし、コマンドを使用して、「ftpuser」にのみアクセスを許可できます
setfacl -R -m u:ftpuser:rwx /path/to/dir setfacl -R -d -m u:ftpuser:rwx /path/to/dir
これには、このディレクトリに対するグループ書き込みアクセスが必要です。これは、コマンドで設定できます
chmod g+w -R /path/to/dir