Change execution permissions in SVN under Linux

Source: Internet
Author: User
Tags chmod commit svn svn client

SVN, if we submit a file with permission 755 under Linux, there is a svn:excuteable in the SVN attribute.
Only in the local chmod 644 filename.php, can not be caused by modification.
You can remove this executable property from the SVN client in Windows by modifying the file's properties.
A commit will be made again after the remove, so you can also eject the input box that lets you fill in a little note.

As you can see, the file saved in SVN does not store the permissions of the owner and similar 755, only if you have executable permissions, checkout and update are chmod +x for the file.


If the local file does not have chmod +x permission before it commits to the warehouse, the files in the SVN repository will remain in the currently no executable attribute state.

Even after the local chmod +x filename, submitting to the warehouse is useless. When check out to another directory, the file still does not have executable permissions.

You need to use SVN to set the file properties as follows

SVN propset svn:executable on *

And then SVN commit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.