[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Several users need to work in the same directory

Rico Secada wrote:
> I know that the user can chmod the files he just created manually and
> then set the execution bit, but in our case the developers sometimes
> upload several new files using sftp, and I am wondering if they really
> have to logon again using ssh and then manually set the execution bit
> on every single newly uploaded file?

Why do the files need the execution bit? Are they scripts? And what kind
of scripts, because even php files need not have the execute bit to be
executed by a web server.

Anyway, I don't think there is an automated way to create files that
have the execute bit set. You can install some kind of daemon to monitor
the directory for new files and change permissions, or a cron job.

You have a reputation for being thoroughly reliable and trustworthy.
A pity that it's totally undeserved.


Reply to: