File Permissions
I have a debian server and I am still a newbie.
is it possible to amend permissions on a folder and everytime I upload a file into this folder via ftp permissions are updated instead of amending the permissions everytime Need to give owner and group 775 permissions to a folder |
Yes, it's possible. But it's bad practice, especially if your server is in any way online. It allows them delete anything they like
Can I gather from your question that your uploaders are having trouble writing what they upload? If you state what you've got, and what you're trying to do, others here will tell you how it's done. |
basically I have an empty folder which a particular software picks up the data from,(once a month I upload 2 files in it and need to put the above mentioned permissions each time) the folder will just have 2 files so it is safe and its just internally not outside the internet.
|
Some of the better ftp/sftp clients allow you to specify the permissions in the settings or on the command line.
Settings and permissions can be overridden by the server, so what ftp server you are running and how it is configured should be considered first. |
I use filezilla as a client and I think Ftpd as a server
|
Try to set the umask 002 in ftpd config file
|
All times are GMT -5. The time now is 06:33 AM. |