My system will auto create an image file for captcha. I want the captcha to have a default owner of "my_username apache" when it was created. currently it was created with owner such as this "apache apache"
我的系统会自动为验证码创建一个图像文件。我希望验证码在创建时具有默认的“my_username apache”所有者。目前它是由所有者创建的,例如“apache apache”
I am using Fedora.
我正在使用Fedora。
Kindly tell me what is the linux command for that. Thanks
请告诉我什么是linux命令。谢谢
1 个解决方案
#1
-1
sudo chown apache:apache chaptcha_file
sudo chown apache:apache chaptcha_file
For default permissions for owner check umask
here http://man7.org/linux/man-pages/man2/umask.2.html
对于所有者的默认权限,请在此处查看umask http://man7.org/linux/man-pages/man2/umask.2.html
#1
-1
sudo chown apache:apache chaptcha_file
sudo chown apache:apache chaptcha_file
For default permissions for owner check umask
here http://man7.org/linux/man-pages/man2/umask.2.html
对于所有者的默认权限,请在此处查看umask http://man7.org/linux/man-pages/man2/umask.2.html