All these softwares (NetBeans, Eclipse, WinSCP) are designed to allow synchronization, and they all try to write the timestamp. What staggers me is how much difficulty I'm having. So the solution needs to work for someone without root access. I would want some other, non-superuser to be able to do the same thing - using their account information, establish an FTP connection and be able to work remotely via sync. The user does have sudo access, but I have been told that it's really not a good idea to work under 'root', so I have been unwilling to just log in as root to do this work. So far, all attempts at automatic synchronization have failed - even using WinSCP in "watch folder" mode, where it monitors a local folder and attempts to upload any changes up to the remote directory error out because it always tries to set the date/timestamp. ![]() I'm trying to work with Eclipse or NetBeans to work on a local copy of the PHP-based (WordPress) site, while allowing the user to "instantly" preview his changes on the development server. Any thoughts on how to grant user permission to touch -t these specific files without chowning them to him?įurther Info This all has to do with enabling PHP development in a single-developer scenario (ie: without SCM). ![]() The user is part of a group with full rw permissions on all relevant files and dirs. And finally, we don't want to have to give this user root access, just to allow him to use a synchronization like rsync or WinSCP that needs to set timestamps. The user can sudo, but since this is happening via an SCP/FTP client, there's no way to do that either. ![]() The user is not the owner of the file, but we cannot chown files to this user for security reasons. When SCP'ing to my Fedora server, a user keeps getting errors about not being able to modify file timestamps ("set time: operation not permitted").
0 Comments
Leave a Reply. |