开发者

Can I chgrp a directory through Subclipse?

开发者 https://www.devze.com 2022-12-27 16:51 出处:网络
I develop on one machine in Eclipse. When I commit the开发者_JS百科 files to the server, the owner is set to \'svn\' and the group is set to \'daemon\' (neither of which are me).I\'m trying out a fram

I develop on one machine in Eclipse. When I commit the开发者_JS百科 files to the server, the owner is set to 'svn' and the group is set to 'daemon' (neither of which are me). I'm trying out a framework. It requires one of its directories to be writable by Apache. Apache is group 'nobody'. I'd like to chgrp nobody /path/to/directory but I can't do it directly since svn owns the files.

Is there a way in Eclipse (Subclipse module) that I can send a chgrp command?


Im confused by your question.. When you commit files they should be going to the repository. As long as the files within the repository are writable bay all the svn user accounts that part of it is fine.

Now if you are going to deploy these to a server for test/production/whtever you want to do a svn checkout or export. Typically you login is as whatever FTP user you might login with an ftp client (so that you know apache can read files by this user:group) and you then issue the export or checkout command and it performs that operation as the user that issued the command.

In short you should never have a situation where anything in your checkout/export is owned by anyone other than the user you checked out/exported with. So you should be able to ssh in (or perhaps us ftp/sftp) to change the permission/user/group of the files youve deployed. But this has nothing to do with Eclipse, or even SVN.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号