-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Our system administrators created an ftp user with the mfdata incoming directory (/home/mfdata/var/in/incoming) as the HOME dir.
We face the below error on the switch plugin:
Traceback (most recent call last):
File "/opt/metwork-mfdata-2.2/bin/before_start_step.switch.main", line 21, in <module>
os.chmod(path, st.st_mode | stat.S_IWGRP)
PermissionError: [Errno 1] Operation not permitted: '/home/mfdata/var/in/incoming'
I don't know if they installed metwork/mfdata before or after creating the ftp user. After I suppose, otherwise the rights would not have been modified.
So it appears the rights of the incoming dir are not "mfdata:metwork":
root@server in$ ll
total 0
drwxrwxr-x+ 2 userftp users 6 7 août 12:40 incoming
While installing mfdata, is it possible to chown the incoming directory (and/or all the wached directories) to mfdata:metwork if it already exists !?
Metadata
Metadata
Assignees
Labels
No labels