Publishing "read only" files
7 posts
• Page 1 of 1
Publishing "read only" files
As we use vault as source control provider, our local files are "read only" after the checkin.
After a publish to our webserver (local, not with FTP), the files are also read only on the webserver.
If I want to publish again, I get the error message "Access to the path ... denied.".
If I manually remove the read only flag from all files, the publishing works again. Could you change, that read only files are overwritten?
Best Regards,
Daniel
After a publish to our webserver (local, not with FTP), the files are also read only on the webserver.
If I want to publish again, I get the error message "Access to the path ... denied.".
If I manually remove the read only flag from all files, the publishing works again. Could you change, that read only files are overwritten?
Best Regards,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
Re: Publishing "read only" files
Hi Daniel,
Thanks for letting us know.
I guess the best approach would be not to overwrite read-only files, as we should respect that. But while publishing prevent propagation of read-only file attributes or other type of attributes as hidden.
I'll let you know here when this is done (it shouldn't take long)
Thanks,
Thanks for letting us know.
I guess the best approach would be not to overwrite read-only files, as we should respect that. But while publishing prevent propagation of read-only file attributes or other type of attributes as hidden.
I'll let you know here when this is done (it shouldn't take long)
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publishing "read only" files
Done. It will be included in the next preview.
Thanks,
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publishing "read only" files
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Publishing "read only" files
Works, although it doesn't fix my issue.
Could you think about implementing an option/dialog to override read only files? Otherwise it is really annoying with vault as source control system.
Best Regards,
Daniel
Could you think about implementing an option/dialog to override read only files? Otherwise it is really annoying with vault as source control system.
Best Regards,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
Re: Publishing "read only" files
Hi Daniel,
I imagine this should work for most of the situations? As publish won't copy file attributes, this way you can publish read-only files many times as they won't be read-only in the destination.
e.g. when source file is checked-in under source control and therefore read-only on fs, it will be copied to destination without this attribute.
If files are read-only already at the destination we should respect it. (you'd have to remove attributes manually for the first time as previous publish did it wrong). But now it should be ok repeatedly.
This is standard approach, used also by standard Visual Studio Web Publish.
Thanks,
I imagine this should work for most of the situations? As publish won't copy file attributes, this way you can publish read-only files many times as they won't be read-only in the destination.
e.g. when source file is checked-in under source control and therefore read-only on fs, it will be copied to destination without this attribute.
If files are read-only already at the destination we should respect it. (you'd have to remove attributes manually for the first time as previous publish did it wrong). But now it should be ok repeatedly.
This is standard approach, used also by standard Visual Studio Web Publish.
Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Publishing "read only" files
Hmm, ok. I think I can live with it
Best Regards,
Daniel
Best Regards,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 64 guests